Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jan 2012 19:18:21 +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-9@freebsd.org
Subject:   svn commit: r229625 - stable/9/sys/dev/pci
Message-ID:  <201201051918.q05JILCe051048@svn.freebsd.org>

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

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/9/sys/dev/pci/isa_pci.c
Directory Properties:
  stable/9/sys/   (props changed)
  stable/9/sys/amd64/include/xen/   (props changed)
  stable/9/sys/boot/   (props changed)
  stable/9/sys/boot/i386/efi/   (props changed)
  stable/9/sys/boot/ia64/efi/   (props changed)
  stable/9/sys/boot/ia64/ski/   (props changed)
  stable/9/sys/boot/powerpc/boot1.chrp/   (props changed)
  stable/9/sys/boot/powerpc/ofw/   (props changed)
  stable/9/sys/cddl/contrib/opensolaris/   (props changed)
  stable/9/sys/conf/   (props changed)
  stable/9/sys/contrib/dev/acpica/   (props changed)
  stable/9/sys/contrib/octeon-sdk/   (props changed)
  stable/9/sys/contrib/pf/   (props changed)
  stable/9/sys/contrib/x86emu/   (props changed)

Modified: stable/9/sys/dev/pci/isa_pci.c
==============================================================================
--- stable/9/sys/dev/pci/isa_pci.c	Thu Jan  5 19:14:11 2012	(r229624)
+++ stable/9/sys/dev/pci/isa_pci.c	Thu Jan  5 19:18:20 2012	(r229625)
@@ -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?201201051918.q05JILCe051048>