summaryrefslogtreecommitdiffstats
path: root/share/man/man4/man4.i386/sr.4
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2000-01-21 01:42:55 +0000
committerarchie <archie@FreeBSD.org>2000-01-21 01:42:55 +0000
commit16af9976b623dd051179c96a587b8f34c4c8ac00 (patch)
treeb3c2ddbab9c91ca6f0656e9e40b50ad9f0dbaf7c /share/man/man4/man4.i386/sr.4
parent5d28703a16845f196795b2dda223c9b4cc87756b (diff)
downloadFreeBSD-src-16af9976b623dd051179c96a587b8f34c4c8ac00.zip
FreeBSD-src-16af9976b623dd051179c96a587b8f34c4c8ac00.tar.gz
Document these drivers' support for netgraph(4).
Diffstat (limited to 'share/man/man4/man4.i386/sr.4')
-rw-r--r--share/man/man4/man4.i386/sr.419
1 files changed, 19 insertions, 0 deletions
diff --git a/share/man/man4/man4.i386/sr.4 b/share/man/man4/man4.i386/sr.4
index 56ea34d..ea631ec 100644
--- a/share/man/man4/man4.i386/sr.4
+++ b/share/man/man4/man4.i386/sr.4
@@ -56,6 +56,10 @@ adding
to
.Xr ifconfig 8 .
.Pp
+Alternately, the driver can be compiled to support
+.Xr netgraph 4
+(see below).
+.Pp
The
.Em flags
field is optional. If it isn't specified, the driver will
@@ -92,6 +96,17 @@ The card only supports IRQ 3, 4, 5, 7, 10, 11, 12 and 15.
.Pp
The iomem area is a 16Kb block and must start at a 16Kb boundary.
.Pp
+.Sh NETGRAPH SUPPORT
+If the kernel is compiled with
+.Dv "options NETGRAPH"
+then the sppp and Cisco HDLC modes are disabled (and the sppp driver
+is unneeded), and this driver functions as a
+.Xr netgraph 4
+node with a single hook named
+.Dv rawdata .
+Connecting to this hook enables the transmission of raw HDLC frames.
+The node will have the same name as the device, e.g.,
+.Dv sr0 .
.Sh DIAGNOSTICS
.Bl -diag
.It "sr%d: Warning illegal interrupt %d."
@@ -102,6 +117,7 @@ The card cannot use the specified interrupt. Choose a different one.
.It Pa /sys/i386/isa/ic/hd64570.h
.It Pa /sys/i386/isa/if_srregs.h
.It Pa /sys/i386/isa/if_sr.c
+.It Pa /sys/i386/isa/if_sr.h
.It Pa /sys/pci/if_sr_p.c
.El
.Sh BUGS
@@ -113,6 +129,7 @@ The code can probably stand some optimizing.
.Xr ar 4 ,
.Xr cx 4 ,
.Xr netintro 4 ,
+.Xr netgraph 4 ,
.Xr ifconfig 8 ,
.Xr lsdev 8
.Sh AUTHORS
@@ -120,3 +137,5 @@ The
.Nm sr
device driver was written by
.An John Hay Aq jhay@FreeBSD.org
+Netgraph support was added by
+.An Julian Elischer Aq julian@FreeBSD.org .
OpenPOWER on IntegriCloud