diff options
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/man4.i386/ar.4 | 21 | ||||
-rw-r--r-- | share/man/man4/man4.i386/sr.4 | 19 |
2 files changed, 39 insertions, 1 deletions
diff --git a/share/man/man4/man4.i386/ar.4 b/share/man/man4/man4.i386/ar.4 index 219625a..0bd9682 100644 --- a/share/man/man4/man4.i386/ar.4 +++ b/share/man/man4/man4.i386/ar.4 @@ -53,6 +53,10 @@ adding .Ar link2 to .Xr ifconfig 8 . +.Pp +Alternately, the driver can be compiled to support +.Xr netgraph 4 +(see below). .Sh NUMBERING Only one line for each card is needed in the kernel configuration file. The first card's ports will be installed from ar0. The numbering of the @@ -64,6 +68,17 @@ The card only supports IRQ 3, 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 ar0 . .Sh DIAGNOSTICS .Bl -diag .It "ar%d: Warning illegal interrupt %d." @@ -74,6 +89,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_arregs.h .It Pa /sys/i386/isa/if_ar.c +.It Pa /sys/i386/isa/if_ar.h .It Pa /sys/pci/if_ar_p.c .El .Sh BUGS @@ -88,7 +104,8 @@ Please report bugs to .Xr cx 4 , .Xr sr 4 , .Xr netintro 4 , -.Xr ifconfig 8 +.Xr netgraph 4 , +.Xr ifconfig 8 . .Sh HISTORY The .Nm ar @@ -99,3 +116,5 @@ The .Nm ar device driver was written by .An John Hay Aq jhay@FreeBSD.org . +Netgraph support was added by +.An Julian Elischer Aq julian@FreeBSD.org . 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 . |