svn commit: r228496 - head/sys/dev/pci
John Baldwin
jhb at FreeBSD.org
Wed Dec 14 12:34:03 UTC 2011
Author: jhb
Date: Wed Dec 14 12:34:02 2011
New Revision: 228496
URL: http://svn.freebsd.org/changeset/base/228496
Log:
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
Modified:
head/sys/dev/pci/isa_pci.c
Modified: head/sys/dev/pci/isa_pci.c
==============================================================================
--- head/sys/dev/pci/isa_pci.c Wed Dec 14 09:09:37 2011 (r228495)
+++ head/sys/dev/pci/isa_pci.c Wed Dec 14 12:34:02 2011 (r228496)
@@ -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),
More information about the svn-src-all
mailing list