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
This commit is contained in:
John Baldwin 2011-12-14 12:34:02 +00:00
parent e22e07ff3b
commit a15536c70d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228496

View File

@ -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),