lkml.org 
[lkml]   [1999]   [Oct]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Half duplex serial support
   Date: Wed, 27 Oct 1999 19:01:14 +0100 (GMT)
From: Riley Williams <rhw@MemAlpha.CX>

As I see it, the ONLY part of all this that belongs in the individual
tty driver is this part:

1. When the driver is called to probe for the relevant hardware,
it finds the state flag set to NOT-HERE.

2. If the driver finds the relevant hardware present, it sets
the state flag to FULL-DUPLEX.

Actually, I'd put the state flag in the line discpline specific data.

If you want half-duplex, when you change your tty to use a half-duplex
line discpline, it will set up the state variable accordingly. Whether
or not a tty has any "duplexity" is function of the line discpline. For
some, such as SLIP, or PPP, it may not make any sense at all.

- Ted

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.032 / U:0.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site