summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-05-21 02:26:51 +0000
committerthompsa <thompsa@FreeBSD.org>2009-05-21 02:26:51 +0000
commitd587431d932af4a84e46edb1d7b1b93d678ebcce (patch)
treef784891e061660ad4ecfe0f7d32ee8e3612ee17d /sys/dev/usb
parent2488e02a4496b692527d5fbfdd34418accf31f76 (diff)
downloadFreeBSD-src-d587431d932af4a84e46edb1d7b1b93d678ebcce.zip
FreeBSD-src-d587431d932af4a84e46edb1d7b1b93d678ebcce.tar.gz
Print out device attachment.
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/wlan/if_uath.c1
-rw-r--r--sys/dev/usb/wlan/if_upgt.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/usb/wlan/if_uath.c b/sys/dev/usb/wlan/if_uath.c
index 0403193..34acd52 100644
--- a/sys/dev/usb/wlan/if_uath.c
+++ b/sys/dev/usb/wlan/if_uath.c
@@ -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.
diff --git a/sys/dev/usb/wlan/if_upgt.c b/sys/dev/usb/wlan/if_upgt.c
index b82d90d..0a7d0a4 100644
--- a/sys/dev/usb/wlan/if_upgt.c
+++ b/sys/dev/usb/wlan/if_upgt.c
@@ -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);
OpenPOWER on IntegriCloud