diff options
Diffstat (limited to 'drivers/usb/serial/mct_u232.c')
-rw-r--r-- | drivers/usb/serial/mct_u232.c | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/drivers/usb/serial/mct_u232.c b/drivers/usb/serial/mct_u232.c index ba0d28727ccb..a975bb80303f 100644 --- a/drivers/usb/serial/mct_u232.c +++ b/drivers/usb/serial/mct_u232.c | |||
@@ -19,50 +19,6 @@ | |||
19 | * DTR/RTS signal handling may be incomplete or incorrect. I have mainly | 19 | * DTR/RTS signal handling may be incomplete or incorrect. I have mainly |
20 | * implemented what I have seen with SniffUSB or found in belkin_sa.c. | 20 | * implemented what I have seen with SniffUSB or found in belkin_sa.c. |
21 | * For further TODOs check also belkin_sa.c. | 21 | * For further TODOs check also belkin_sa.c. |
22 | * | ||
23 | * TEST STATUS: | ||
24 | * Basic tests have been performed with minicom/zmodem transfers and | ||
25 | * modem dialing under Linux 2.4.0-test10 (for me it works fine). | ||
26 | * | ||
27 | * 04-Nov-2003 Bill Marr <marr at flex dot com> | ||
28 | * - Mimic Windows driver by sending 2 USB 'device request' messages | ||
29 | * following normal 'baud rate change' message. This allows data to be | ||
30 | * transmitted to RS-232 devices which don't assert the 'CTS' signal. | ||
31 | * | ||
32 | * 10-Nov-2001 Wolfgang Grandegger | ||
33 | * - Fixed an endianess problem with the baudrate selection for PowerPC. | ||
34 | * | ||
35 | * 06-Dec-2001 Martin Hamilton <martinh@gnu.org> | ||
36 | * - Added support for the Belkin F5U109 DB9 adaptor | ||
37 | * | ||
38 | * 30-May-2001 Greg Kroah-Hartman | ||
39 | * - switched from using spinlock to a semaphore, which fixes lots of | ||
40 | * problems. | ||
41 | * | ||
42 | * 04-May-2001 Stelian Pop | ||
43 | * - Set the maximum bulk output size for Sitecom U232-P25 model to 16 bytes | ||
44 | * instead of the device reported 32 (using 32 bytes causes many data | ||
45 | * loss, Windows driver uses 16 too). | ||
46 | * | ||
47 | * 02-May-2001 Stelian Pop | ||
48 | * - Fixed the baud calculation for Sitecom U232-P25 model | ||
49 | * | ||
50 | * 08-Apr-2001 gb | ||
51 | * - Identify version on module load. | ||
52 | * | ||
53 | * 06-Jan-2001 Cornel Ciocirlan | ||
54 | * - Added support for Sitecom U232-P25 model (Product Id 0x0230) | ||
55 | * - Added support for D-Link DU-H3SP USB BAY (Product Id 0x0200) | ||
56 | * | ||
57 | * 29-Nov-2000 Greg Kroah-Hartman | ||
58 | * - Added device id table to fit with 2.4.0-test11 structure. | ||
59 | * - took out DEAL_WITH_TWO_INT_IN_ENDPOINTS #define as it's not needed | ||
60 | * (lots of things will change if/when the usb-serial core changes to | ||
61 | * handle these issues. | ||
62 | * | ||
63 | * 27-Nov-2000 Wolfgang Grandegge | ||
64 | * A version for kernel 2.4.0-test10 released to the Linux community | ||
65 | * (via linux-usb-devel). | ||
66 | */ | 22 | */ |
67 | 23 | ||
68 | #include <linux/kernel.h> | 24 | #include <linux/kernel.h> |
@@ -526,7 +482,6 @@ static int mct_u232_open(struct tty_struct *tty, struct usb_serial_port *port) | |||
526 | mct_u232_msr_to_state(&priv->control_state, priv->last_msr); | 482 | mct_u232_msr_to_state(&priv->control_state, priv->last_msr); |
527 | spin_unlock_irqrestore(&priv->lock, flags); | 483 | spin_unlock_irqrestore(&priv->lock, flags); |
528 | 484 | ||
529 | port->read_urb->dev = port->serial->dev; | ||
530 | retval = usb_submit_urb(port->read_urb, GFP_KERNEL); | 485 | retval = usb_submit_urb(port->read_urb, GFP_KERNEL); |
531 | if (retval) { | 486 | if (retval) { |
532 | dev_err(&port->dev, | 487 | dev_err(&port->dev, |
@@ -535,7 +490,6 @@ static int mct_u232_open(struct tty_struct *tty, struct usb_serial_port *port) | |||
535 | goto error; | 490 | goto error; |
536 | } | 491 | } |
537 | 492 | ||
538 | port->interrupt_in_urb->dev = port->serial->dev; | ||
539 | retval = usb_submit_urb(port->interrupt_in_urb, GFP_KERNEL); | 493 | retval = usb_submit_urb(port->interrupt_in_urb, GFP_KERNEL); |
540 | if (retval) { | 494 | if (retval) { |
541 | usb_kill_urb(port->read_urb); | 495 | usb_kill_urb(port->read_urb); |