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:
John Baldwin 2003-07-17 19:13:41 +00:00
parent c7cc6a4d9f
commit 9e66b98a4a

View File

@ -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);