diff options
author | julian <julian@FreeBSD.org> | 1999-10-23 04:28:11 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1999-10-23 04:28:11 +0000 |
commit | bd6712748945561c31293c9a9bbafee61470548b (patch) | |
tree | da0a6d48db55b43982988a91a3e4b738558ea7c8 /share/man/man4/ng_tty.4 | |
parent | 309540210a9e865a6d20be7df5e9de244a48b047 (diff) | |
download | FreeBSD-src-bd6712748945561c31293c9a9bbafee61470548b.zip FreeBSD-src-bd6712748945561c31293c9a9bbafee61470548b.tar.gz |
Now that Netgraph is in the system there are some cleanups we can do.
Also save a slightly closer to completion version of the PPPOE code.
Submitted by: Archie Cobbs <archie@freebsd.org>
Diffstat (limited to 'share/man/man4/ng_tty.4')
-rw-r--r-- | share/man/man4/ng_tty.4 | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/share/man/man4/ng_tty.4 b/share/man/man4/ng_tty.4 index 660b46c..5314116 100644 --- a/share/man/man4/ng_tty.4 +++ b/share/man/man4/ng_tty.4 @@ -42,14 +42,16 @@ .Nm ng_tty .Nd netgraph node type that is also a line discipline .Sh SYNOPSIS +.Fd #include <sys/ttycom.h> .Fd #include <netgraph/ng_message.h> .Fd #include <netgraph/ng_tty.h> .Sh DESCRIPTION The .Nm tty node type is both a netgraph node type and a line discipline. -A new node is created when the corresponding line discipline is -registered on a tty device (see +A new node is created when the corresponding line discipline, +.Dv NETGRAPHDISC , +is registered on a tty device (see .Xr tty 4 ")." .Pp The node has a single hook called @@ -112,18 +114,6 @@ The control message is not valid, and always returns the error .Er EOPNOTSUPP . .Sh BUGS -The -.Nm tty -type registers its line discipline when the type is installed, -where it is dynamically assigned an integer index. -Unfortunately, there's no way to know what this integer is -except by reading the output of -.Xr dmesg 8 . -The fix for this is to have line disciplines identified by -unique ASCII strings instead of fixed integer constants, -or else to assign one of those constants to -.Nm ng_tty . -.Pp The serial driver code also has a notion of a ``hot character.'' Unfortunately, this value is statically defined in terms of the line discipline and cannot be changed. |