summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/eisa_pci.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2000-12-12 03:33:02 +0000
committermsmith <msmith@FreeBSD.org>2000-12-12 03:33:02 +0000
commit986a4dc88d53b0ccc8588a845981d0302b439f9c (patch)
treeffafc92604716f43d6ead091811253633b43579a /sys/dev/pci/eisa_pci.c
parent7a735b1d2ff5f3a95d9192569b6f98b1d68c98ea (diff)
downloadFreeBSD-src-986a4dc88d53b0ccc8588a845981d0302b439f9c.zip
FreeBSD-src-986a4dc88d53b0ccc8588a845981d0302b439f9c.tar.gz
- Don't return early from the PCI:EISA bridge attachment, or we will lose
the ISA bus. - Don't expect that a PCI:ISA bridge will have a correct class value; if we're checking PCI IDs, only depend on these. This should fix the loss of ISA on machines with PCI:EISA bridges like the AS4100.
Diffstat (limited to 'sys/dev/pci/eisa_pci.c')
-rw-r--r--sys/dev/pci/eisa_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/eisa_pci.c b/sys/dev/pci/eisa_pci.c
index 1f2186d..b44f572 100644
--- a/sys/dev/pci/eisa_pci.c
+++ b/sys/dev/pci/eisa_pci.c
@@ -114,7 +114,7 @@ eisab_attach(device_t dev)
*/
child = device_add_child(dev, "eisa", 0);
if (child != NULL)
- return(bus_generic_attach(dev));
+ bus_generic_attach(dev);
/*
* Attach an ISA bus as well (should this be a child of EISA?)
OpenPOWER on IntegriCloud