Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2011 07:08:39 +0000 (UTC)
From:      Hans Petter Selasky <hselasky@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: r224241 - stable/8/sys/dev/usb/net
Message-ID:  <201107210708.p6L78d7C050070@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: hselasky
Date: Thu Jul 21 07:08:39 2011
New Revision: 224241
URL: http://svn.freebsd.org/changeset/base/224241

Log:
  MFC r224180:
  Only the USB root HUB thread is allowed to attach and detach drivers
  to and from USB devices. Remove related DEVMETHOD() lines from USB
  drivers.

Modified:
  stable/8/sys/dev/usb/net/if_aue.c
  stable/8/sys/dev/usb/net/if_axe.c
  stable/8/sys/dev/usb/net/if_rue.c
  stable/8/sys/dev/usb/net/if_udav.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/usb/net/if_aue.c
==============================================================================
--- stable/8/sys/dev/usb/net/if_aue.c	Thu Jul 21 07:04:51 2011	(r224240)
+++ stable/8/sys/dev/usb/net/if_aue.c	Thu Jul 21 07:08:39 2011	(r224241)
@@ -256,7 +256,6 @@ static device_method_t aue_methods[] = {
 
 	/* bus interface */
 	DEVMETHOD(bus_print_child, bus_generic_print_child),
-	DEVMETHOD(bus_driver_added, bus_generic_driver_added),
 
 	/* MII interface */
 	DEVMETHOD(miibus_readreg, aue_miibus_readreg),

Modified: stable/8/sys/dev/usb/net/if_axe.c
==============================================================================
--- stable/8/sys/dev/usb/net/if_axe.c	Thu Jul 21 07:04:51 2011	(r224240)
+++ stable/8/sys/dev/usb/net/if_axe.c	Thu Jul 21 07:08:39 2011	(r224241)
@@ -225,7 +225,6 @@ static device_method_t axe_methods[] = {
 
 	/* bus interface */
 	DEVMETHOD(bus_print_child, bus_generic_print_child),
-	DEVMETHOD(bus_driver_added, bus_generic_driver_added),
 
 	/* MII interface */
 	DEVMETHOD(miibus_readreg, axe_miibus_readreg),

Modified: stable/8/sys/dev/usb/net/if_rue.c
==============================================================================
--- stable/8/sys/dev/usb/net/if_rue.c	Thu Jul 21 07:04:51 2011	(r224240)
+++ stable/8/sys/dev/usb/net/if_rue.c	Thu Jul 21 07:08:39 2011	(r224241)
@@ -188,7 +188,6 @@ static device_method_t rue_methods[] = {
 
 	/* Bus interface */
 	DEVMETHOD(bus_print_child, bus_generic_print_child),
-	DEVMETHOD(bus_driver_added, bus_generic_driver_added),
 
 	/* MII interface */
 	DEVMETHOD(miibus_readreg, rue_miibus_readreg),

Modified: stable/8/sys/dev/usb/net/if_udav.c
==============================================================================
--- stable/8/sys/dev/usb/net/if_udav.c	Thu Jul 21 07:04:51 2011	(r224240)
+++ stable/8/sys/dev/usb/net/if_udav.c	Thu Jul 21 07:08:39 2011	(r224241)
@@ -147,7 +147,6 @@ static device_method_t udav_methods[] = 
 
 	/* bus interface */
 	DEVMETHOD(bus_print_child, bus_generic_print_child),
-	DEVMETHOD(bus_driver_added, bus_generic_driver_added),
 
 	/* MII interface */
 	DEVMETHOD(miibus_readreg, udav_miibus_readreg),



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