summaryrefslogtreecommitdiffstats
path: root/share/man/man4/man4.i386/sr.4
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man4/man4.i386/sr.4')
-rw-r--r--share/man/man4/man4.i386/sr.431
1 files changed, 22 insertions, 9 deletions
diff --git a/share/man/man4/man4.i386/sr.4 b/share/man/man4/man4.i386/sr.4
index 289811e..ffb104a 100644
--- a/share/man/man4/man4.i386/sr.4
+++ b/share/man/man4/man4.i386/sr.4
@@ -37,8 +37,15 @@
.Nm sr
.Nd synchronous RISCom/N2 / WANic 400/405 device driver
.Sh SYNOPSIS
-.Cd "device sr0 at isa? port 0x300 irq 10 iomem 0xd0000"
-.Cd "device sr1 at isa? port 0x310 irq 11 flags 0x1 iomem 0xd0000"
+.Cd "device sr"
+.Pp
+For ISA cards, in
+.Pa /boot/device.hints :
+.Cd hint.sr.0.at="isa"
+.Cd hint.sr.0.port="0x300"
+.Cd hint.sr.0.irq="10"
+.Cd hint.sr.0.maddr="0xd0000"
+.Cd hint.sr.0.flags="0x0"
.Pp
.Cd "device sppp"
.Sh DESCRIPTION
@@ -47,6 +54,16 @@ The
driver supports the RISCom/N2 ISA cards and the WANic 400/405 PCI cards
that is based on the HD64570 chip.
.Pp
+If you have ISA cards, you need to specify the resources for them in
+.Pa /boot/device.hints .
+If you have the second ISA card, add
+.Pp
+.Dl hint.sr.1.at="isa"
+.Dl hint.sr.1.port="0x310"
+.Dl hint.sr.1.irq="11"
+.Dl hint.sr.1.maddr="0xd0000"
+.Dl hint.sr.1.flags="0x0"
+.Pp
The standard
.Fx
sppp code is used for the link level layer.
@@ -64,7 +81,9 @@ Alternately, the driver can be compiled to support
.Pp
The
.Em flags
-field is optional.
+specification in
+.Pa /boot/device.hints
+is optional.
If it isn't specified, the driver will
assume the following:
.Pp
@@ -87,12 +106,6 @@ Use separate external clocks for transmit and receive on port 0.
.It Em 0x40
Use separate external clocks for transmit and receive on port 1.
.El
-.Sh NUMBERING
-Only one line for each card is needed in the kernel configuration file.
-The first card's ports will be installed from sr0. The numbering of the
-next card will continue where the first stopped, eg. if the first card
-is a two port card it will use sr0 and sr1. The next card will then
-start at sr2.
.Pp
The card only supports IRQ 3, 4, 5, 7, 10, 11, 12 and 15.
.Pp
OpenPOWER on IntegriCloud