net: plusb.c
Subsystems (2)
PATCH 1/1 net: plusb.c
Dear Kernel-Developers,
note that the plusb.c driver for Prolific PL-2301/2302 USB Host to Host Link Driver may be used also for Prolific PL-2501 devices if a rather trivial patch is applied to plusb.c.
Regards,
Heiko
Signature · 3 lines
-- Cluster Computing @ http://www.clustercomputing.de -- Number Crunch Blog @ http://numbercrunch.de -- Heiko Bauke @ http://www.mpi-hd.mpg.de/personalhomes/bauke
drivers/net/usb/plusb.c +7 -4
@@ -1,5 +1,5 @@/* -* PL-2301/2302 USB host-to-host link cables +* PL-2301/2302/2501 USB host-to-host link cables * Copyright (C) 2000-2005 by David Brownell * * This program is free software; you can redistribute it and/or modify
@@ -32,7 +32,7 @@/* -* Prolific PL-2301/PL-2302 driver ... http://www.prolifictech.com +* Prolific PL-2301/2302/2501 driver ... http://www.prolifictech.com * * The protocol and handshaking used here should be bug-compatible * with the Linux 2.2 "plusb" driver, by Deti Fliegl.
@@ -95,7 +95,7 @@ }static const struct driver_info prolific_info = { - .description ="Prolific PL-2301/PL-2302" , + .description ="Prolific PL-2301/2302/2501" , .flags =FLAG_NO_SETINT ,/* some PL-2302 versions seem to fail usb_set_interface() */ .reset = pl_reset,
@@ -117,6 +117,9 @@ }, { USB_DEVICE(0x067b, 0x0001), // PL-2302 .driver_info = (unsigned long ) &prolific_info, +}, { +USB_DEVICE (0x067b ,0x2501 ),// PL-2501 + .driver_info = (unsigned long) &prolific_info, }, { }, // END
@@ -145,5 +148,5 @@module_exit (plusb_exit);MODULE_AUTHOR ("David Brownell" ); -MODULE_DESCRIPTION ("Prolific PL-2301/2302 USB Host to Host Link Driver" ); +MODULE_DESCRIPTION ("Prolific PL-2301/2302/2501 USB Host to Host Link Driver" );MODULE_LICENSE ("GPL" );