mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
usb-serial: Add Siemens EF81 to PL-2303 hack triggers
This hardware needs the pl2303 hack in order to work properly :( Signed-off-by: Andreas Bombe <aeb@debian.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
01c1714265
commit
ce816cf9c9
1 changed files with 3 additions and 1 deletions
|
@ -733,7 +733,9 @@ int usb_serial_probe(struct usb_interface *interface,
|
||||||
((le16_to_cpu(dev->descriptor.idVendor) == ATEN_VENDOR_ID) &&
|
((le16_to_cpu(dev->descriptor.idVendor) == ATEN_VENDOR_ID) &&
|
||||||
(le16_to_cpu(dev->descriptor.idProduct) == ATEN_PRODUCT_ID)) ||
|
(le16_to_cpu(dev->descriptor.idProduct) == ATEN_PRODUCT_ID)) ||
|
||||||
((le16_to_cpu(dev->descriptor.idVendor) == ALCOR_VENDOR_ID) &&
|
((le16_to_cpu(dev->descriptor.idVendor) == ALCOR_VENDOR_ID) &&
|
||||||
(le16_to_cpu(dev->descriptor.idProduct) == ALCOR_PRODUCT_ID))) {
|
(le16_to_cpu(dev->descriptor.idProduct) == ALCOR_PRODUCT_ID)) ||
|
||||||
|
((le16_to_cpu(dev->descriptor.idVendor) == SIEMENS_VENDOR_ID) &&
|
||||||
|
(le16_to_cpu(dev->descriptor.idProduct) == SIEMENS_PRODUCT_ID_EF81))) {
|
||||||
if (interface != dev->actconfig->interface[0]) {
|
if (interface != dev->actconfig->interface[0]) {
|
||||||
/* check out the endpoints of the other interface*/
|
/* check out the endpoints of the other interface*/
|
||||||
iface_desc = dev->actconfig->interface[0]->cur_altsetting;
|
iface_desc = dev->actconfig->interface[0]->cur_altsetting;
|
||||||
|
|
Loading…
Add table
Reference in a new issue