Re: [PATCH] Add support for Mobilcom Debitel USB UMTS Surf-Stickto option driver

From: Matthias Urlichs
Date: Fri Nov 27 2009 - 08:32:28 EST


On Fri, 2009-11-27 at 13:49 +0100, Gernot Hillier wrote:
> + /* 4G Systems W14 simply ignores this message on interface 0 & 1
> + and would cause long timeouts when calling usb_control_msg() */
> + if (serial->dev->descriptor.idVendor == FOUR_G_SYSTEMS_VENDOR_ID &&
> + serial->dev->descriptor.idProduct == FOUR_G_SYSTEMS_PRODUCT_W14 &&
> + (ifNum == 0 || ifNum == 1) )
> + return -EIO;
>
I'd appreciate if you'd implement this generically.

I.e., use the driver_info field of struct usb_device for an appropriate
blacklist flag. (It's not going to be the only one.)


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/