summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/isa_pci.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2011-12-14 12:34:02 +0000
committerjhb <jhb@FreeBSD.org>2011-12-14 12:34:02 +0000
commit956b23c71e1a4b5ca0e9b853705e2448ae897278 (patch)
tree565635ad13fd02f68d285fd9fab50854e7e3111d /sys/dev/pci/isa_pci.c
parent7d15ee0fa9108440bc5dbb41614f2cd01606a243 (diff)
downloadFreeBSD-src-956b23c71e1a4b5ca0e9b853705e2448ae897278.zip
FreeBSD-src-956b23c71e1a4b5ca0e9b853705e2448ae897278.tar.gz
Implement BUS_ADD_CHILD() for the isab(4) driver. It already calls
bus_generic_probe() and bus_generic_attach() to handle drivers that add new children via identify methods. MFC after: 1 week
Diffstat (limited to 'sys/dev/pci/isa_pci.c')
-rw-r--r--sys/dev/pci/isa_pci.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/pci/isa_pci.c b/sys/dev/pci/isa_pci.c
index 4f9e2a2..7819b7e 100644
--- a/sys/dev/pci/isa_pci.c
+++ b/sys/dev/pci/isa_pci.c
@@ -67,6 +67,7 @@ static device_method_t isab_methods[] = {
DEVMETHOD(device_resume, bus_generic_resume),
/* Bus interface */
+ DEVMETHOD(bus_add_child, bus_generic_add_child),
DEVMETHOD(bus_alloc_resource, isab_pci_alloc_resource),
DEVMETHOD(bus_release_resource, isab_pci_release_resource),
DEVMETHOD(bus_activate_resource, bus_generic_activate_resource),
OpenPOWER on IntegriCloud