mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-28 11:57:28 +00:00
Fix a comment.
Submitted by: Nick Mann
This commit is contained in:
parent
caae4b7f29
commit
84fc65da9f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=183869
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user