Skip to content

Commit e1e99dc

Browse files
RoEdAlgregkh
authored andcommitted
usb: plusb: Add support for PL-27A1
[ Upstream commit 6f2aee0c0de65013333bbc26fe50c9c7b09a37f7 ] This patch adds support for the PL-27A1 by adding the appropriate USB ID's. This chip is used in the goobay Active USB 3.0 Data Link and Unitek Y-3501 cables. Signed-off-by: Roman Spychała <roed@onet.eu> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 4212115 commit e1e99dc

2 files changed

Lines changed: 14 additions & 3 deletions

File tree

drivers/net/usb/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ config USB_NET_NET1080
364364
optionally with LEDs that indicate traffic
365365

366366
config USB_NET_PLUSB
367-
tristate "Prolific PL-2301/2302/25A1 based cables"
367+
tristate "Prolific PL-2301/2302/25A1/27A1 based cables"
368368
# if the handshake/init/reset problems, from original 'plusb',
369369
# are ever resolved ... then remove "experimental"
370370
depends on USB_USBNET

drivers/net/usb/plusb.c

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ static int pl_reset(struct usbnet *dev)
102102
}
103103

104104
static const struct driver_info prolific_info = {
105-
.description = "Prolific PL-2301/PL-2302/PL-25A1",
105+
.description = "Prolific PL-2301/PL-2302/PL-25A1/PL-27A1",
106106
.flags = FLAG_POINTTOPOINT | FLAG_NO_SETINT,
107107
/* some PL-2302 versions seem to fail usb_set_interface() */
108108
.reset = pl_reset,
@@ -139,6 +139,17 @@ static const struct usb_device_id products [] = {
139139
* Host-to-Host Cable
140140
*/
141141
.driver_info = (unsigned long) &prolific_info,
142+
143+
},
144+
145+
/* super speed cables */
146+
{
147+
USB_DEVICE(0x067b, 0x27a1), /* PL-27A1, no eeprom
148+
* also: goobay Active USB 3.0
149+
* Data Link,
150+
* Unitek Y-3501
151+
*/
152+
.driver_info = (unsigned long) &prolific_info,
142153
},
143154

144155
{ }, // END
@@ -158,5 +169,5 @@ static struct usb_driver plusb_driver = {
158169
module_usb_driver(plusb_driver);
159170

160171
MODULE_AUTHOR("David Brownell");
161-
MODULE_DESCRIPTION("Prolific PL-2301/2302/25A1 USB Host to Host Link Driver");
172+
MODULE_DESCRIPTION("Prolific PL-2301/2302/25A1/27A1 USB Host to Host Link Driver");
162173
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)