Linux-kernel mailing list archive 1999-36,: Re: Serial proxy driver help...

# Re: Serial proxy driver help...

Junio Hamano (junio@twinsun.com)
07 Sep 1999 16:47:44 -0700

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Joe Pranevich: "PATCH: PnP detection in serial.c (updated)"
- Previous message: Steve Lonmo: "Why only half support for the Panasonic LF-D101 DVD-RAM in 2.2.12?"
- In reply to: Richard B. Johnson: "Re: Serial proxy driver help..."

>>>>> "RJ" == Richard B Johnson <root@chaos.analogic.com> writes:

RJ> This is a template.

RJ> for(;;)
RJ> {
RJ> select(i+1....) /* Timeout on select about 2 character times */
RJ> {
RJ> len = read(i, buf, LEN);
RJ> if(len)write(j, buf, len);
RJ> }
RJ> select(j+1....)
RJ> {
RJ> len = read(j, buf, LEN);
RJ> if(len) write(i, buf, len);
RJ> }
RJ> }

Would you care to explain how you would handle breaks and sttys
(i.e. serial configuration change such as parity, speed, etc.)
in the above scheme please?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

- Next message: Joe Pranevich: "PATCH: PnP detection in serial.c (updated)"
- Previous message: Steve Lonmo: "Why only half support for the Panasonic LF-D101 DVD-RAM in 2.2.12?"
- In reply to: Richard B. Johnson: "Re: Serial proxy driver help..."