ChangeSet 1.1290.15.17, 2004/03/01 14:04:57-08:00, tchen@on-go.com [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;