Fix a bogon in the previous commit. When suppressing multiple isab
devices, we have to allow for the case when the isab0 device is ourselves. Tested by: markm
This commit is contained in:
parent
c7cc6a4d9f
commit
9e66b98a4a
@ -94,7 +94,7 @@ acpi_isab_probe(device_t dev)
|
||||
|
||||
if ((acpi_get_type(dev) == ACPI_TYPE_DEVICE) &&
|
||||
!acpi_disabled("isa") &&
|
||||
devclass_get_device(isab_devclass, 0) == NULL &&
|
||||
devclass_get_device(isab_devclass, 0) == dev &&
|
||||
(acpi_MatchHid(dev, "PNP0A05") || acpi_MatchHid(dev, "PNP0A06"))) {
|
||||
device_set_desc(dev, "ACPI Generic ISA bridge");
|
||||
return(0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user