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>
This commit is contained in:
parent
4212115da6
commit
e1e99dc319
2 changed files with 14 additions and 3 deletions
|
@ -364,7 +364,7 @@ config USB_NET_NET1080
|
||||||
optionally with LEDs that indicate traffic
|
optionally with LEDs that indicate traffic
|
||||||
|
|
||||||
config USB_NET_PLUSB
|
config USB_NET_PLUSB
|
||||||
tristate "Prolific PL-2301/2302/25A1 based cables"
|
tristate "Prolific PL-2301/2302/25A1/27A1 based cables"
|
||||||
# if the handshake/init/reset problems, from original 'plusb',
|
# if the handshake/init/reset problems, from original 'plusb',
|
||||||
# are ever resolved ... then remove "experimental"
|
# are ever resolved ... then remove "experimental"
|
||||||
depends on USB_USBNET
|
depends on USB_USBNET
|
||||||
|
|
|
@ -102,7 +102,7 @@ static int pl_reset(struct usbnet *dev)
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct driver_info prolific_info = {
|
static const struct driver_info prolific_info = {
|
||||||
.description = "Prolific PL-2301/PL-2302/PL-25A1",
|
.description = "Prolific PL-2301/PL-2302/PL-25A1/PL-27A1",
|
||||||
.flags = FLAG_POINTTOPOINT | FLAG_NO_SETINT,
|
.flags = FLAG_POINTTOPOINT | FLAG_NO_SETINT,
|
||||||
/* some PL-2302 versions seem to fail usb_set_interface() */
|
/* some PL-2302 versions seem to fail usb_set_interface() */
|
||||||
.reset = pl_reset,
|
.reset = pl_reset,
|
||||||
|
@ -139,6 +139,17 @@ static const struct usb_device_id products [] = {
|
||||||
* Host-to-Host Cable
|
* Host-to-Host Cable
|
||||||
*/
|
*/
|
||||||
.driver_info = (unsigned long) &prolific_info,
|
.driver_info = (unsigned long) &prolific_info,
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
/* super speed cables */
|
||||||
|
{
|
||||||
|
USB_DEVICE(0x067b, 0x27a1), /* PL-27A1, no eeprom
|
||||||
|
* also: goobay Active USB 3.0
|
||||||
|
* Data Link,
|
||||||
|
* Unitek Y-3501
|
||||||
|
*/
|
||||||
|
.driver_info = (unsigned long) &prolific_info,
|
||||||
},
|
},
|
||||||
|
|
||||||
{ }, // END
|
{ }, // END
|
||||||
|
@ -158,5 +169,5 @@ static struct usb_driver plusb_driver = {
|
||||||
module_usb_driver(plusb_driver);
|
module_usb_driver(plusb_driver);
|
||||||
|
|
||||||
MODULE_AUTHOR("David Brownell");
|
MODULE_AUTHOR("David Brownell");
|
||||||
MODULE_DESCRIPTION("Prolific PL-2301/2302/25A1 USB Host to Host Link Driver");
|
MODULE_DESCRIPTION("Prolific PL-2301/2302/25A1/27A1 USB Host to Host Link Driver");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
|
Loading…
Add table
Reference in a new issue