From a15536c70d06d4f939775b3ed0f75aa6a73e4787 Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Wed, 14 Dec 2011 12:34:02 +0000 Subject: [PATCH] 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 --- sys/dev/pci/isa_pci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/pci/isa_pci.c b/sys/dev/pci/isa_pci.c index 4f9e2a2d35f3..7819b7e4cc83 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),