Re: [PATCH] Add PNP0A08 into acpi_pci_roots array.

From: Bjorn Helgaas
Date: Wed Oct 17 2012 - 23:55:48 EST


On Wed, Oct 17, 2012 at 8:22 PM, Tang Chen <tangchen@xxxxxxxxxxxxxx> wrote:
> acpi_pci_roots array doesn't include PNP0A08, which is PCI Express
> Root Bridge.

You need to explain why this change is necessary. PNP0A08 devices
will have a PNP0A03 _CID, so the driver already claims PNP0A08 devices
because the _CID matches.

> Signed-off-by: Tang Chen <tangchen@xxxxxxxxxxxxxx>
> ---
> drivers/acpi/pci_root.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/acpi/pci_root.c b/drivers/acpi/pci_root.c
> index 037b59c..dedc4d6 100644
> --- a/drivers/acpi/pci_root.c
> +++ b/drivers/acpi/pci_root.c
> @@ -56,6 +56,7 @@ static int acpi_pci_root_start(struct acpi_device *device);
>
> static const struct acpi_device_id root_device_ids[] = {
> {"PNP0A03", 0},
> + {"PNP0A08", 0},
> {"", 0},
> };
> MODULE_DEVICE_TABLE(acpi, root_device_ids);
> --
> 1.7.1
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/