summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/umass.c
diff options
context:
space:
mode:
authorn_hibma <n_hibma@FreeBSD.org>2008-10-14 07:52:47 +0000
committern_hibma <n_hibma@FreeBSD.org>2008-10-14 07:52:47 +0000
commita3a1acfdd7d8fa969e9a27a182d0003544ccbf88 (patch)
tree2144b79f17b17d6fae3861035eb5b061c775a574 /sys/dev/usb/umass.c
parent7974c42270231149db385a91a6841fb04b9bc1b2 (diff)
downloadFreeBSD-src-a3a1acfdd7d8fa969e9a27a182d0003544ccbf88.zip
FreeBSD-src-a3a1acfdd7d8fa969e9a27a182d0003544ccbf88.tar.gz
Fix a comment.
Submitted by: Nick Mann
Diffstat (limited to 'sys/dev/usb/umass.c')
-rw-r--r--sys/dev/usb/umass.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/sys/dev/usb/umass.c b/sys/dev/usb/umass.c
index 0f0756c..5063426 100644
--- a/sys/dev/usb/umass.c
+++ b/sys/dev/usb/umass.c
@@ -1177,17 +1177,16 @@ umass_match_proto(struct umass_softc *sc, usbd_interface_handle iface,
dd = usbd_get_device_descriptor(udev);
- /* These are 3G modes (E220, Mobile, etc.) devices with auto-install
- * flash disks for Windows/MacOSX through the first interface.
- * We are assuming that these vendors will not produce mass storage
- * devices. See the list of supported parts in u3g, if this happens to
- * be a mistake in the future.
+ /* These are 3G modem devices (E220, Mobile, etc.) with auto-install
+ * flash disks for Windows/MacOSX through the first interface. We are
+ * assuming that these vendors will not produce mass storage devices.
+ * See the list of supported parts in u3g, if this happens to be a
+ * mistake in the future.
*/
if (UGETW(dd->idVendor) == USB_VENDOR_HUAWEI) {
- /* The interface is reset in the u3g driver
- * (u3g_huawei_reinit()). Allow generic attachment to the
- * second interface though. Some Huawei devices contain an SD
- * card slot.
+ /* The interface is reset in the u3g driver. Allow generic
+ * attachment to the second interface though. Some Huawei
+ * devices contain an SD card slot.
*/
id = usbd_get_interface_descriptor(iface);
if (id == NULL || id->bInterfaceNumber == 0)
OpenPOWER on IntegriCloud