Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jan 2012 19:18:42 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r229626 - stable/8/sys/dev/pci
Message-ID:  <201201051918.q05JIgpo051097@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Thu Jan  5 19:18:41 2012
New Revision: 229626
URL: http://svn.freebsd.org/changeset/base/229626

Log:
  MFC 228496:
  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.

Modified:
  stable/8/sys/dev/pci/isa_pci.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/dev/pci/isa_pci.c
==============================================================================
--- stable/8/sys/dev/pci/isa_pci.c	Thu Jan  5 19:18:20 2012	(r229625)
+++ stable/8/sys/dev/pci/isa_pci.c	Thu Jan  5 19:18:41 2012	(r229626)
@@ -57,6 +57,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_print_child,		bus_generic_print_child),
     DEVMETHOD(bus_alloc_resource,	bus_generic_alloc_resource),
     DEVMETHOD(bus_release_resource,	bus_generic_release_resource),



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201051918.q05JIgpo051097>