Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

if_sbni(4) [debian man page]

SBNI(4) 						 BSD/i386 Kernel Interfaces Manual						   SBNI(4)

NAME
sbni -- Granch SBNI12 leased line modem driver SYNOPSIS
device sbni DESCRIPTION
The sbni driver provides support for leased line modems of following models: o SBNI12-02, SBNI12D-02 o SBNI12-04, SBNI12D-04 o SBNI12-05, SBNI12D-05, ISA and PCI o SBNI12-10, SBNI12D-10, ISA and PCI and a kit for data link over a voice band: o SBNI12-11, SBNI12D-11, ISA and PCI. In addition to the standard port and IRQ specifications, the sbni driver also supports a number of flags which can set baud rate, receive level, and low three bytes of Ethernet MAC-address (high three are always 00:ff:01), because Granch modems are presented to the system as Ethernet-like network cards. The high byte of the flags is a bit field, it is used to specify SBNI adapter receive level/baud rate: Bits 0-3: receive level (0x00..0x0f) Bits 4-5: baud rate number: 00 - 0 baud rate (2Mb in fast mode/500kb in slow) 01 - 1 baud rate (1Mb/250kb) 10 - 2 baud rate (500kb/125kb) 11 - 3 baud rate (250kb/62.5kb) Bit 6: use fixed receive level if bit 6 is set then receive level will be set according to bits 0-3 value, otherwise receive level will be autodetected Bit 7: use fixed baud rate if bit 7 is set then baud rate will be set according to bits 4-5 value, otherwise baud rate is set to 2Mb FILES
The sources for the driver reside in: /sys/dev/sbni/if_sbni.c /sys/dev/sbni/if_sbnireg.h /sys/dev/sbni/if_sbnivar.h SEE ALSO
arp(4), netintro(4), ifconfig(8) HISTORY
The sbni device driver first appeared in FreeBSD 4.6. AUTHORS
The sbni device driver for FreeBSD 4.x was written by Denis I. Timofeev, partially based on David Greenman's ed(4) driver. Earlier versions (available on ftp.granch.com) were written by Alexey V. Zverev. SBNI12 hardware was designed by Alexey V. Chirkov. BSD
January 8, 2002 BSD

Check Out this Related Man Page

tcgetattr(3C)						   Standard C Library Functions 					     tcgetattr(3C)

NAME
tcgetattr - get the parameters associated with the terminal SYNOPSIS
#include <termios.h> int tcgetattr(int fildes, struct termios *termios_p); DESCRIPTION
The tcgetattr() function gets the parameters associated with the terminal referred to by fildes and stores them in the termios structure (see termio(7I)) referenced by termios_p. The fildes argument is an open file descriptor associated with a terminal. The termios_p argument is a pointer to a termios structure. The tcgetattr() operation is allowed from any process. If the terminal device supports different input and output baud rates, the baud rates stored in the termios structure returned by tcge- tattr() reflect the actual baud rates, even if they are equal. If differing baud rates are not supported, the rate returned as the output baud rate is the actual baud rate. If the terminal device does not support split baud rates, the input baud rate stored in the termios structure will be 0. RETURN VALUES
Upon successful completion, 0 is returned. Otherwise, -1 is returned and errno is set to indicate the error. ERRORS
The tcgetattr() function will fail if: EBADF The fildes argument is not a valid file descriptor. ENOTTY The file associated with fildes is not a terminal. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-------------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-------------------------------+ |Interface Stability |Standard | +-----------------------------+-------------------------------+ |MT-Level |MT-Safe, and Async-Signal-Safe | +-----------------------------+-------------------------------+ SEE ALSO
tcsetattr(3C), attributes(5), standards(5), termio(7I) SunOS 5.11 14 Aug 2002 tcgetattr(3C)
Man Page