ChangeSet 1.1290.15.17, 2004/03/01 14:04:57-08:00, [EMAIL PROTECTED]
[PATCH] USB: fix little bug in io_edgeport.c
this problem has been around since 2.4.17
in drivers/usb/serial/io_edgeport.c
in routine set_modem_info...
when user request cahnging DTR, it was modifying RTS... causing RTS to
change unexpectedly (and DTR not being changed correctly)
drivers/usb/serial/io_edgeport.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff -Nru a/drivers/usb/serial/io_edgeport.c b/drivers/usb/serial/io_edgeport.c
--- a/drivers/usb/serial/io_edgeport.c Wed Mar 17 15:48:30 2004
+++ b/drivers/usb/serial/io_edgeport.c Wed Mar 17 15:48:30 2004
@@ -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;
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel