summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-07-09 18:28:53 +0000
committerjhb <jhb@FreeBSD.org>2003-07-09 18:28:53 +0000
commit8e9de72ad8a3de920e7abd6d0e45000a4a349d4a (patch)
tree5973c9b645dc96db4a9856b46b551fbfd51614be /sys/dev
parent741b4d29059a95f3ea272130d67992b2c24b85c2 (diff)
downloadFreeBSD-src-8e9de72ad8a3de920e7abd6d0e45000a4a349d4a.zip
FreeBSD-src-8e9de72ad8a3de920e7abd6d0e45000a4a349d4a.tar.gz
- Fix a typo in the call to acpi_disabled() in probe() by removing an
extra trailing space. - Don't bother probing a generic ISA bus device if isab0 already exists. Some BIOSes place an ACPI psuedo-device with the HID of a generic ISA bus device under the PCI-ISA bridge device. This is not the best solution but will work for now. The isa bus driver only allows for one ISA bus anyways.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/acpica/acpi_isab.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/acpica/acpi_isab.c b/sys/dev/acpica/acpi_isab.c
index bcb466b..f0ac118 100644
--- a/sys/dev/acpica/acpi_isab.c
+++ b/sys/dev/acpica/acpi_isab.c
@@ -93,7 +93,8 @@ acpi_isab_probe(device_t dev)
{
if ((acpi_get_type(dev) == ACPI_TYPE_DEVICE) &&
- !acpi_disabled("isa ") &&
+ !acpi_disabled("isa") &&
+ devclass_get_device(isab_devclass, 0) == NULL &&
(acpi_MatchHid(dev, "PNP0A05") || acpi_MatchHid(dev, "PNP0A06"))) {
device_set_desc(dev, "ACPI Generic ISA bridge");
return(0);
OpenPOWER on IntegriCloud