svn commit: r192511 - head/sys/dev/usb/wlan

Andrew Thompson thompsa at FreeBSD.org
Thu May 21 02:26:52 UTC 2009


Author: thompsa
Date: Thu May 21 02:26:51 2009
New Revision: 192511
URL: http://svn.freebsd.org/changeset/base/192511

Log:
  Print out device attachment.

Modified:
  head/sys/dev/usb/wlan/if_uath.c
  head/sys/dev/usb/wlan/if_upgt.c

Modified: head/sys/dev/usb/wlan/if_uath.c
==============================================================================
--- head/sys/dev/usb/wlan/if_uath.c	Thu May 21 02:25:32 2009	(r192510)
+++ head/sys/dev/usb/wlan/if_uath.c	Thu May 21 02:26:51 2009	(r192511)
@@ -355,6 +355,7 @@ uath_attach(device_t dev)
 #ifdef UATH_DEBUG
 	sc->sc_debug = uath_debug;
 #endif
+	device_set_usb2_desc(dev);
 
 	/*
 	 * Only post-firmware devices here.

Modified: head/sys/dev/usb/wlan/if_upgt.c
==============================================================================
--- head/sys/dev/usb/wlan/if_upgt.c	Thu May 21 02:25:32 2009	(r192510)
+++ head/sys/dev/usb/wlan/if_upgt.c	Thu May 21 02:26:51 2009	(r192511)
@@ -257,6 +257,7 @@ upgt_attach(device_t dev)
 #ifdef UPGT_DEBUG
 	sc->sc_debug = upgt_debug;
 #endif
+	device_set_usb2_desc(dev);
 
 	mtx_init(&sc->sc_mtx, device_get_nameunit(sc->sc_dev), MTX_NETWORK_LOCK,
 	    MTX_DEF);


More information about the svn-src-all mailing list