patch-2.4.26 linux-2.4.26/drivers/usb/serial/io_edgeport.c
Next file: linux-2.4.26/drivers/usb/serial/pl2303.c
Previous file: linux-2.4.26/drivers/usb/serial/ftdi_sio.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
2004-04-14 06:05:35.000000000 -0700
- Orig file:
linux-2.4.25/drivers/usb/serial/io_edgeport.c
- Orig date:
2004-02-18 05:36:31.000000000 -0800
diff -urN linux-2.4.25/drivers/usb/serial/io_edgeport.c linux-2.4.26/drivers/usb/serial/io_edgeport.c
@@ -1760,7 +1760,7 @@
if (arg & TIOCM_RTS)
mcr |= MCR_RTS;
if (arg & TIOCM_DTR)
- mcr |= MCR_RTS;
+ mcr |= MCR_DTR;
if (arg & TIOCM_LOOP)
mcr |= MCR_LOOPBACK;
break;
@@ -1769,7 +1769,7 @@
if (arg & TIOCM_RTS)
mcr &= ~MCR_RTS;
if (arg & TIOCM_DTR)
- mcr &= ~MCR_RTS;
+ mcr &= ~MCR_DTR;
if (arg & TIOCM_LOOP)
mcr &= ~MCR_LOOPBACK;
break;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)