Tell umass to leave Huawei radio devices alone so ubsa(4) will

be able to kick them into shape.
This commit is contained in:
Poul-Henning Kamp 2008-09-25 12:16:18 +00:00
parent 7164022370
commit 4d4ef06993
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=183349

View File

@ -1173,6 +1173,13 @@ umass_match_proto(struct umass_softc *sc, usbd_interface_handle iface,
dd = usbd_get_device_descriptor(udev);
/*
* These are radio devices with auto-install flash disks for win/mac.
* We want the ubsa driver to kick them into shape instead.
*/
if (UGETW(dd->idVendor) == USB_VENDOR_HUAWEI)
return(UMATCH_NONE);
/* An entry specifically for Y-E Data devices as they don't fit in the
* device description table.
*/