diff options
author | jkim <jkim@FreeBSD.org> | 2009-07-13 21:36:31 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2009-07-13 21:36:31 +0000 |
commit | f54960f3a9aab7f3a4fe097deaee3c9940748119 (patch) | |
tree | 6648c20d2cf1d1a38f82ba57ce25eb9d796eef30 /sys | |
parent | f325b80d86952a05a5327feb9c1de4f1f7fe31c0 (diff) | |
download | FreeBSD-src-f54960f3a9aab7f3a4fe097deaee3c9940748119.zip FreeBSD-src-f54960f3a9aab7f3a4fe097deaee3c9940748119.tar.gz |
Match PCI Express root bridge _HID directly instead of
relying on _CID.
Reviewed by: jhb
Approved by: re (kib)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/amd64/pci/pci_bus.c | 1 | ||||
-rw-r--r-- | sys/dev/acpica/acpi_pcib_acpi.c | 2 | ||||
-rw-r--r-- | sys/i386/pci/pci_bus.c | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/sys/amd64/pci/pci_bus.c b/sys/amd64/pci/pci_bus.c index 3ab66d7..e943df1 100644 --- a/sys/amd64/pci/pci_bus.c +++ b/sys/amd64/pci/pci_bus.c @@ -386,6 +386,7 @@ DRIVER_MODULE(pcib, legacy, legacy_pcib_driver, hostb_devclass, 0, 0); */ static struct isa_pnp_id pcibus_pnp_ids[] = { { 0x030ad041 /* PNP0A03 */, "PCI Bus" }, + { 0x080ad041 /* PNP0A08 */, "PCIe Bus" }, { 0 } }; diff --git a/sys/dev/acpica/acpi_pcib_acpi.c b/sys/dev/acpica/acpi_pcib_acpi.c index 7f5b8b7..4714125 100644 --- a/sys/dev/acpica/acpi_pcib_acpi.c +++ b/sys/dev/acpica/acpi_pcib_acpi.c @@ -131,7 +131,7 @@ MODULE_DEPEND(acpi_pcib, acpi, 1, 1, 1); static int acpi_pcib_acpi_probe(device_t dev) { - static char *pcib_ids[] = { "PNP0A03", NULL }; + static char *pcib_ids[] = { "PNP0A03", "PNP0A08", NULL }; if (acpi_disabled("pcib") || ACPI_ID_PROBE(device_get_parent(dev), dev, pcib_ids) == NULL) diff --git a/sys/i386/pci/pci_bus.c b/sys/i386/pci/pci_bus.c index 0a82bff..a6c11e8 100644 --- a/sys/i386/pci/pci_bus.c +++ b/sys/i386/pci/pci_bus.c @@ -598,6 +598,7 @@ DRIVER_MODULE(pcib, legacy, legacy_pcib_driver, hostb_devclass, 0, 0); */ static struct isa_pnp_id pcibus_pnp_ids[] = { { 0x030ad041 /* PNP0A03 */, "PCI Bus" }, + { 0x080ad041 /* PNP0A08 */, "PCIe Bus" }, { 0 } }; |