From 16af9976b623dd051179c96a587b8f34c4c8ac00 Mon Sep 17 00:00:00 2001 From: archie Date: Fri, 21 Jan 2000 01:42:55 +0000 Subject: Document these drivers' support for netgraph(4). --- share/man/man4/man4.i386/sr.4 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'share/man/man4/man4.i386/sr.4') 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 . -- cgit v1.1