/share/man/man4/man4.i386/sbni.4

https://bitbucket.org/freebsd/freebsd-head/ · Forth · 132 lines · 132 code · 0 blank · 0 comment · 5 complexity · 0fa4d1b8723f71edf2dee985b2248282 MD5 · raw file

  1. .\" Written by Denis I. Timofeev, 2002.
  2. .\"
  3. .\" Redistribution and use in source and binary forms, with or without
  4. .\" modification, are permitted provided that the following conditions
  5. .\" are met:
  6. .\" 1. Redistributions of source code must retain the above copyright
  7. .\" notice, this list of conditions and the following disclaimer.
  8. .\" 2. Redistributions in binary form must reproduce the above copyright
  9. .\" notice, this list of conditions and the following disclaimer in the
  10. .\" documentation and/or other materials provided with the distribution.
  11. .\"
  12. .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
  13. .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  14. .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  15. .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
  16. .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
  17. .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
  18. .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  19. .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  20. .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
  21. .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  22. .\" SUCH DAMAGE.
  23. .\"
  24. .\" $FreeBSD$
  25. .\"
  26. .Dd January 8, 2002
  27. .Dt SBNI 4 i386
  28. .Os
  29. .Sh NAME
  30. .Nm sbni
  31. .Nd Granch SBNI12 leased line modem driver
  32. .Sh SYNOPSIS
  33. .Cd "device sbni"
  34. .Sh DESCRIPTION
  35. The
  36. .Nm
  37. driver provides support for leased line modems of following models:
  38. .Pp
  39. .Bl -bullet -compact
  40. .It
  41. SBNI12-02, SBNI12D-02
  42. .It
  43. SBNI12-04, SBNI12D-04
  44. .It
  45. SBNI12-05, SBNI12D-05, ISA and PCI
  46. .It
  47. SBNI12-10, SBNI12D-10, ISA and PCI
  48. .El
  49. .Pp
  50. and a kit for data link over a voice band:
  51. .Bl -bullet
  52. .It
  53. SBNI12-11, SBNI12D-11, ISA and PCI.
  54. .El
  55. .Pp
  56. In addition to the standard port and IRQ specifications, the
  57. .Nm
  58. driver also supports a number of
  59. .Va flags
  60. which can set baud rate, receive level, and low three bytes of Ethernet
  61. MAC-address (high three are always
  62. .Li 00:ff:01 ) ,
  63. because Granch modems are
  64. presented to the system as Ethernet-like network cards.
  65. .Pp
  66. The high byte of the
  67. .Va flags
  68. is a bit field, it is used to specify SBNI adapter receive level/baud rate:
  69. .Bl -tag -width "Bits 0-3:" -offset indent
  70. .It "Bits 0-3:"
  71. receive level (0x00..0x0f)
  72. .It "Bits 4-5:"
  73. baud rate number:
  74. .Pp
  75. .Bl -inset -compact
  76. .It "00 -"
  77. 0 baud rate (2Mb in fast mode/500kb in slow)
  78. .It "01 -"
  79. 1 baud rate (1Mb/250kb)
  80. .It "10 -"
  81. 2 baud rate (500kb/125kb)
  82. .It "11 -"
  83. 3 baud rate (250kb/62.5kb)
  84. .El
  85. .It "Bit 6:"
  86. use fixed receive level
  87. .Pp
  88. if bit 6 is set then receive level will be set according
  89. to bits 0-3 value, otherwise receive level will be
  90. autodetected
  91. .It "Bit 7:"
  92. use fixed baud rate
  93. .Pp
  94. if bit 7 is set then baud rate will be set according to
  95. bits 4-5 value, otherwise baud rate is set to 2Mb
  96. .El
  97. .Sh FILES
  98. The sources for the driver reside in:
  99. .Pp
  100. .Bl -tag -width ".Pa /sys/dev/sbni/if_sbni.c" -compact
  101. .It Pa /sys/dev/sbni/if_sbni.c
  102. .It Pa /sys/dev/sbni/if_sbnireg.h
  103. .It Pa /sys/dev/sbni/if_sbnivar.h
  104. .El
  105. .Sh SEE ALSO
  106. .Xr arp 4 ,
  107. .Xr netintro 4 ,
  108. .Xr ifconfig 8
  109. .Sh HISTORY
  110. The
  111. .Nm
  112. device driver first appeared in
  113. .Fx 4.6 .
  114. .Sh AUTHORS
  115. .An -nosplit
  116. The
  117. .Nm
  118. device driver for
  119. .Fx
  120. 4.x was written by
  121. .An Denis I. Timofeev ,
  122. partially based on
  123. .An David Greenman Ns 's
  124. .Xr ed 4
  125. driver.
  126. Earlier versions (available on
  127. .Pa ftp.granch.com )
  128. were written by
  129. .An Alexey V. Zverev .
  130. .Pp
  131. SBNI12 hardware was designed by
  132. .An Alexey V. Chirkov .