/share/man/man4/man4.i386/cx.4

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

  1. .\" Copyright (c) 2003-2004 Roman Kurakin <rik@cronyx.ru>
  2. .\" Copyright (c) 2003-2004 Cronyx Engineering
  3. .\" All rights reserved.
  4. .\"
  5. .\" This software is distributed with NO WARRANTIES, not even the implied
  6. .\" warranties for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  7. .\"
  8. .\" Authors grant any other persons or organisations a permission to use,
  9. .\" modify and redistribute this software in source and binary forms,
  10. .\" as long as this message is kept with the software, all derivative
  11. .\" works or modified versions.
  12. .\"
  13. .\" Cronyx Id: cx.4,v 1.1.2.6 2004/06/21 17:56:40 rik Exp $
  14. .\" $FreeBSD$
  15. .\"
  16. .Dd July 16, 2005
  17. .Dt CX 4 i386
  18. .Os
  19. .Sh NAME
  20. .Nm cx
  21. .Nd "driver for synchronous/asynchronous Cronyx Sigma WAN adapters"
  22. .Sh SYNOPSIS
  23. To compile this driver into the kernel,
  24. place the following line in your
  25. kernel configuration file:
  26. .Bd -ragged -offset indent
  27. .Cd "device cx"
  28. .Ed
  29. .Pp
  30. Alternatively, to load the driver as a
  31. module at boot time, place the following line in
  32. .Xr loader.conf 5 :
  33. .Bd -literal -offset indent
  34. if_cx_load="YES"
  35. .Ed
  36. .Pp
  37. Additional options:
  38. .Cd "device sppp"
  39. .Cd "options NETGRAPH"
  40. .Cd "options NETGRAPH_CRONYX"
  41. .Pp
  42. In
  43. .Pa /boot/device.hints :
  44. .Cd hint.cx.0.at="isa"
  45. .Cd hint.cx.0.port="0x240"
  46. .Cd hint.cx.0.irq="15"
  47. .Cd hint.cx.0.drq="7"
  48. .Sh DESCRIPTION
  49. The
  50. .Nm
  51. driver needs either
  52. .Xr sppp 4
  53. or
  54. .Xr netgraph 4 .
  55. Which one to use is determined by the
  56. .Dv NETGRAPH_CRONYX
  57. option.
  58. If this option is present in your kernel configuration file, the
  59. .Nm
  60. driver will be compiled with
  61. .Xr netgraph 4
  62. support.
  63. Otherwise, it will be compiled with
  64. .Xr sppp 4
  65. support.
  66. .Pp
  67. The base I/O port address specified in
  68. .Pa /boot/device.hints
  69. must match the port address set by the jumpers on the board.
  70. The DMA I/O channel and interrupt request numbers are configured
  71. by software at adapter initialization.
  72. Legal values are:
  73. .Pp
  74. .Bl -tag -compact -width Port:
  75. .It Port :
  76. 0x240, 0x260, 0x280, 0x300, 0x320, 0x380
  77. .It IRQ :
  78. 3, 5, 7, 10, 11, 12, 15
  79. .It DMA :
  80. 5, 6, 7
  81. .El
  82. .Pp
  83. The
  84. .Nm
  85. driver supports autodetection.
  86. As for all non-PNP hardware, using
  87. autodetection could lead to some potential problems with other devices during
  88. the hardware detection process.
  89. It is always better to specify hardware resources manually.
  90. .Pp
  91. Refer to
  92. .Xr sconfig 8
  93. for information about the
  94. .Nm
  95. adapter configuration.
  96. .Sh HARDWARE
  97. The
  98. .Nm
  99. driver supports the following cards:
  100. .Pp
  101. .Bl -bullet -compact
  102. .It
  103. Cronyx Sigma-22, Sigma-24
  104. .It
  105. Cronyx Sigma-100
  106. .It
  107. Cronyx Sigma-400, Sigma-401, Sigma-404, Sigma-410, Sigma-440
  108. .It
  109. Cronyx Sigma-500
  110. .It
  111. Cronyx Sigma-703
  112. .It
  113. Cronyx Sigma-800, Sigma-801, Sigma-810, Sigma-840
  114. .El
  115. .Sh SEE ALSO
  116. .Xr cp 4 ,
  117. .Xr ctau 4 ,
  118. .Xr sppp 4 ,
  119. .Xr ifconfig 8 ,
  120. .Xr sconfig 8 ,
  121. .Xr spppcontrol 8
  122. .Sh HISTORY
  123. The
  124. .Nm
  125. driver was updated in
  126. .Fx 5.2
  127. and
  128. .Fx 4.10 .
  129. In most of the previous versions of
  130. .Fx
  131. the
  132. .Nm
  133. driver is out of date.
  134. The
  135. .Nm
  136. driver for previous versions of
  137. .Fx
  138. is available from
  139. .Pa http://www.cronyx.ru/ .