summaryrefslogtreecommitdiffstats
path: root/sys/pci/pcisupport.c
diff options
context:
space:
mode:
authoryokota <yokota@FreeBSD.org>1999-05-27 12:26:50 +0000
committeryokota <yokota@FreeBSD.org>1999-05-27 12:26:50 +0000
commit5c5cd2fd9ee1fa5751f2ecf7616dc9d0b148019a (patch)
tree01fc80ab467065b041444e07fcda3aeee3e23a5b /sys/pci/pcisupport.c
parent111e03a0134803733210b0adbdf6cb4c32adabb3 (diff)
downloadFreeBSD-src-5c5cd2fd9ee1fa5751f2ecf7616dc9d0b148019a.zip
FreeBSD-src-5c5cd2fd9ee1fa5751f2ecf7616dc9d0b148019a.tar.gz
Print some diagnostic messages for the PCI-ISA bridge,
if bootverbose > 0. Reviewed by: dfr
Diffstat (limited to 'sys/pci/pcisupport.c')
-rw-r--r--sys/pci/pcisupport.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/pci/pcisupport.c b/sys/pci/pcisupport.c
index 5181fbf..6cf83c9 100644
--- a/sys/pci/pcisupport.c
+++ b/sys/pci/pcisupport.c
@@ -1,6 +1,6 @@
/**************************************************************************
**
-** $Id: pcisupport.c,v 1.114 1999/05/26 13:14:24 roger Exp $
+** $Id: pcisupport.c,v 1.115 1999/05/27 10:59:40 roger Exp $
**
** Device driver for DEC/INTEL PCI chipsets.
**
@@ -1027,10 +1027,17 @@ isab_probe(device_t dev)
return ENXIO;
}
+static int
+isab_attach(device_t dev)
+{
+ chipset_attach(dev, device_get_unit(dev));
+ return bus_generic_attach(dev);
+}
+
static device_method_t isab_methods[] = {
/* Device interface */
DEVMETHOD(device_probe, isab_probe),
- DEVMETHOD(device_attach, bus_generic_attach),
+ DEVMETHOD(device_attach, isab_attach),
DEVMETHOD(device_shutdown, bus_generic_shutdown),
DEVMETHOD(device_suspend, bus_generic_suspend),
DEVMETHOD(device_resume, bus_generic_resume),
OpenPOWER on IntegriCloud