Date: Wed, 14 Dec 2011 12:34:02 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r228496 - head/sys/dev/pci Message-ID: <201112141234.pBECY24V098628@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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),
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112141234.pBECY24V098628>