Match PCI Express root bridge _HID directly instead of
relying on _CID. Reviewed by: jhb Approved by: re (kib)
This commit is contained in:
parent
3ccda2f312
commit
e8c4d3e407
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=195666
@ -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 }
|
||||
};
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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 }
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user