*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> i386/sr (4)              



NAME    [Toc]    [Back]

     sr -- synchronous RISCom/N2 / WANic 400/405 device driver

SYNOPSIS    [Toc]    [Back]

     device sr

     For ISA cards, in /boot/device.hints:

     device sppp

DESCRIPTION    [Toc]    [Back]

     The sr driver supports the RISCom/N2 ISA cards and the WANic 400/405 PCI
     cards that is based on the HD64570 chip.

     If you have ISA cards, you need to specify the resources for them in
     /boot/device.hints.  If you have the second ISA card, add


     The standard FreeBSD sppp code is used for the link level layer.  The
     default protocol used is PPP.  The Cisco HDLC protocol can be used by
     adding link2 to ifconfig(8).

     Alternately, the driver can be compiled to support netgraph(4) (see

     The flags specification in /boot/device.hints is optional.  If it isn't
     specified, the driver will assume the following:

	   The card has 2 ports.

	   The clock for the serial ports is external and the transmitter uses
		   the same clock as the receiver.

     The flags are a bit field and can be used to force a different behaviour
     than the default.

	   0x01    The card has only one port.

	   0x10    Use separate external clocks for transmit and receive on
		   port 0.

	   0x40    Use separate external clocks for transmit and receive on
		   port 1.

     The card only supports IRQ 3, 4, 5, 7, 10, 11, 12 and 15.

     The iomem area is a 16Kb block and must start at a 16Kb boundary.

NETGRAPH SUPPORT    [Toc]    [Back]

     If the kernel is compiled with options NETGRAPH then the sppp and Cisco
     HDLC modes are disabled (and the sppp driver is unneeded), and this
     driver functions as a netgraph(4) node with a single hook named rawdata.
     Connecting to this hook enables the transmission of raw HDLC frames.  The
     node will have the same name as the device with ``sync_'' prepended,
     e.g., sync_sr0.

DIAGNOSTICS    [Toc]    [Back]

     sr%d: Warning illegal interrupt %d.  The card cannot use the specified
     interrupt.  Choose a different one.

FILES    [Toc]    [Back]


BUGS    [Toc]    [Back]

     At the moment only the X.21 interface is tested.  The others may need
     tweaks to the clock selection code.

     The code can probably stand some optimizing.

SEE ALSO    [Toc]    [Back]

     ar(4), cx(4), netgraph(4), netintro(4), ifconfig(8)

AUTHORS    [Toc]    [Back]

     The sr device driver was written by John Hay <jhay@FreeBSD.org>.

     Netgraph support was added by Julian Elischer <julian@FreeBSD.org>.

FreeBSD 5.2.1			 July 4, 1996			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
ar FreeBSD synchronous Digi/Arnet device driver
i4bisppp FreeBSD isdn4bsd synchronous PPP over ISDN B-channel network driver
cx FreeBSD driver for synchronous/asynchronous Cronyx-Sigma WAN adapters
el FreeBSD Ethernet driver for 3Com Etherlink 3C501 device driver
hil HP-UX HP-HIL device driver
cs FreeBSD ethernet device driver
uaudio OpenBSD USB audio device driver
ie FreeBSD ethernet device driver
uiomove FreeBSD device driver I/O routines
fdes_to_drivername IRIX determine the driver name for the device
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service