net-modules.txt
上传用户:jlfgdled
上传日期:2013-04-10
资源大小:33168k
文件大小:10k
源码类别:

Linux/Unix编程

开发平台:

Unix_Linux

  1. Wed 2-Aug-95  <matti.aarnio@utu.fi>
  2. Linux network driver modules
  3. Do not mistake this for "README.modules" at the top-level
  4. directory!  That document tells about modules in general, while
  5. this one tells only about network device driver modules.
  6. This is a potpourri of INSMOD-time(*) configuration options
  7. (if such exists) and their default values of various modules
  8. in the Linux network drivers collection.
  9. Some modules have also hidden (= non-documented) tunable values.
  10. The choice of not documenting them is based on general belief, that
  11. the less the user needs to know, the better.  (There are things that
  12. driver developers can use, others should not confuse themselves.)
  13. In many cases it is highly preferred that insmod:ing is done
  14. ONLY with defining an explicit address for the card, AND BY
  15. NOT USING AUTO-PROBING!
  16. Now most cards have some explicitly defined base address that they
  17. are compiled with (to avoid auto-probing, among other things).
  18. If that compiled value does not match your actual configuration,
  19. do use the "io=0xXXX" -parameter for the insmod, and give there
  20. a value matching your environment.
  21. If you are adventurous, you can ask the driver to autoprobe
  22. by using the "io=0" parameter, however it is a potentially dangerous
  23. thing to do in a live system.  (If you don't know where the
  24. card is located, you can try autoprobing, and after possible
  25. crash recovery, insmod with proper IO-address..)
  26. --------------------------
  27. (*) "INSMOD-time" means when you load module with
  28. /sbin/insmod  you can feed it optional parameters.
  29. See "man insmod".
  30. --------------------------
  31. 8390 based Network Modules (Paul Gortmaker, Nov 12, 1995)
  32. --------------------------
  33. (Includes: smc-ultra, ne, wd, 3c503, hp, hp-plus, e2100 and ac3200)
  34. The 8390 series of network drivers now support multiple card systems without 
  35. reloading the same module multiple times (memory efficient!) This is done by 
  36. specifying multiple comma separated values, such as:
  37. insmod 3c503.o io=0x280,0x300,0x330,0x350  xcvr=0,1,0,1
  38. The above would have the one module controlling four 3c503 cards, with card 2
  39. and 4 using external transceivers. The "insmod" manual describes the usage
  40. of comma separated value lists.
  41. It is *STRONGLY RECOMMENDED* that you supply "io=" instead of autoprobing.
  42. If an "io=" argument is not supplied, then the ISA drivers will complain
  43. about autoprobing being not recommended, and begrudgingly autoprobe for
  44. a *SINGLE CARD ONLY* -- if you want to use multiple cards you *have* to 
  45. supply an "io=0xNNN,0xQQQ,..." argument.
  46. The ne module is an exception to the above. A NE2000 is essentially an
  47. 8390 chip, some bus glue and some RAM. Because of this, the ne probe is
  48. more invasive than the rest, and so at boot we make sure the ne probe is 
  49. done last of all the 8390 cards (so that it won't trip over other 8390 based
  50. cards) With modules we can't ensure that all other non-ne 8390 cards have
  51. already been found. Because of this, the ne module REQUIRES an "io=0xNNN" 
  52. argument passed in via insmod. It will refuse to autoprobe.
  53. It is also worth noting that auto-IRQ probably isn't as reliable during 
  54. the flurry of interrupt activity on a running machine. Cards such as the 
  55. ne2000 that can't get the IRQ setting from an EEPROM or configuration
  56. register are probably best supplied with an "irq=M" argument as well.
  57. ----------------------------------------------------------------------
  58. Card/Module List - Configurable Parameters and Default Values
  59. ----------------------------------------------------------------------
  60. 3c501.c:
  61. io  = 0x280 IO base address
  62. irq = 5 IRQ
  63. (Probes ports: 0x280, 0x300)
  64. 3c503.c:
  65. io = 0 (It will complain if you don't supply an "io=0xNNN")
  66. irq = 0 (IRQ software selected by driver using autoIRQ)
  67. xcvr = 0 (Use xcvr=1 to select external transceiver.)
  68. (Probes ports: 0x300, 0x310, 0x330, 0x350, 0x250, 0x280, 0x2A0, 0x2E0)
  69. 3c505.c:
  70. io = 0
  71. irq = 0
  72. dma = 6         (not autoprobed)
  73. (Probes ports: 0x300, 0x280, 0x310)
  74. 3c507.c:
  75. io = 0x300
  76. irq = 0
  77. (Probes ports: 0x300, 0x320, 0x340, 0x280)
  78. 3c509.c:
  79. io = 0
  80. irq = 0
  81. ( Module load-time probing Works reliably only on EISA, ISA ID-PROBE
  82.   IS NOT RELIABLE!  Compile this driver statically into kernel for
  83.   now, if you need it auto-probing on an ISA-bus machine. )
  84. 8390.c:
  85. (No public options, several other modules need this one)
  86. a2065.c:
  87. Since this is a Zorro board, it supports full autoprobing, even for
  88. multiple boards. (m68k/Amiga)
  89. ac3200.c:
  90. io = 0 (Checks 0x1000 to 0x8fff in 0x1000 intervals)
  91. irq = 0 (Read from config register)
  92. (EISA probing..)
  93. apricot.c:
  94. io = 0x300  (Can't be altered!)
  95. irq = 10
  96. arcnet.c:
  97. io = 0
  98. irqnum = 0
  99. shmem = 0
  100. num = 0
  101. DO SET THESE MANUALLY AT INSMOD!
  102. (When probing, looks at the following possible addresses:
  103.  Suggested ones:
  104. 0x300, 0x2E0, 0x2F0, 0x2D0
  105.  Other ones:
  106. 0x200, 0x210, 0x220, 0x230, 0x240, 0x250, 0x260, 0x270,
  107. 0x280, 0x290, 0x2A0, 0x2B0, 0x2C0,
  108.        0x310, 0x320, 0x330, 0x340, 0x350, 0x360, 0x370,
  109. 0x380, 0x390, 0x3A0,   0x3E0, 0x3F0  )
  110. ariadne.c:
  111. Since this is a Zorro board, it supports full autoprobing, even for
  112. multiple boards. (m68k/Amiga)
  113. at1700.c:
  114. io = 0x260
  115. irq = 0
  116. (Probes ports: 0x260, 0x280, 0x2A0, 0x240, 0x340, 0x320, 0x380, 0x300)
  117. atari_bionet.c:
  118. Supports full autoprobing. (m68k/Atari)
  119. atari_pamsnet.c:
  120. Supports full autoprobing. (m68k/Atari)
  121. atarilance.c:
  122. Supports full autoprobing. (m68k/Atari)
  123. atp.c: *Not modularized*
  124. (Probes ports: 0x378, 0x278, 0x3BC;
  125.  fixed IRQs: 5 and 7 )
  126. cops.c:
  127. io = 0x240
  128. irq = 5
  129. nodeid = 0 (AutoSelect = 0, NodeID 1-254 is hand selected.)
  130. (Probes ports: 0x240, 0x340, 0x200, 0x210, 0x220, 0x230, 0x260,
  131.        0x2A0, 0x300, 0x310, 0x320, 0x330, 0x350, 0x360)
  132. de4x5.c:
  133. io = 0x000b
  134. irq = 10
  135. is_not_dec = 0  -- For non-DEC card using DEC 21040/21041/21140 chip, set this to 1
  136. (EISA, and PCI probing)
  137. de600.c:
  138. de600_debug = 0
  139. (On port 0x378, irq 7 -- lpt1;  compile time configurable)
  140. de620.c:
  141. bnc = 0, utp = 0  <-- Force media by setting either.
  142. io = 0x378 (also compile-time configurable)
  143. irq = 7
  144. depca.c:
  145. io = 0x200
  146. irq = 7
  147. (Probes ports: ISA:  0x300, 0x200;
  148. EISA: 0x0c00 )
  149. dummy.c:
  150. No options
  151. e2100.c:
  152. io = 0 (It will complain if you don't supply an "io=0xNNN")
  153. irq = 0 (IRQ software selected by driver)
  154. mem = 0 (Override default shared memory start of 0xd0000)
  155. xcvr = 0 (Use xcvr=1 to select external transceiver.)
  156. (Probes ports: 0x300, 0x280, 0x380, 0x220)
  157. eepro.c:
  158. io = 0x200
  159. irq = 0
  160. (Probes ports: 0x200, 0x240, 0x280, 0x2C0, 0x300, 0x320, 0x340, 0x360)
  161. eexpress.c:
  162. io = 0x300
  163. irq = 0 (IRQ value read from EEPROM)
  164. (Probes ports: 0x300, 0x270, 0x320, 0x340)
  165. eql.c:
  166. (No parameters)
  167. ewrk3.c:
  168. io = 0x300
  169. irq = 5
  170. (With module no autoprobing!
  171.  On EISA-bus does EISA probing.
  172.  Static linkage probes ports on ISA bus:
  173. 0x100, 0x120, 0x140, 0x160, 0x180, 0x1A0, 0x1C0,
  174. 0x200, 0x220, 0x240, 0x260, 0x280, 0x2A0, 0x2C0, 0x2E0,
  175. 0x300,        0x340, 0x360, 0x380, 0x3A0, 0x3C0)
  176. hp-plus.c:
  177. io = 0 (It will complain if you don't supply an "io=0xNNN")
  178. irq = 0 (IRQ read from configuration register)
  179. (Probes ports: 0x200, 0x240, 0x280, 0x2C0, 0x300, 0x320, 0x340)
  180. hp.c:
  181. io = 0 (It will complain if you don't supply an "io=0xNNN")
  182. irq = 0 (IRQ software selected by driver using autoIRQ)
  183. (Probes ports: 0x300, 0x320, 0x340, 0x280, 0x2C0, 0x200, 0x240)
  184. hp100.c:
  185. hp100_port = 0 (IO-base address)
  186. (Does EISA-probing, if on EISA-slot;
  187.  On ISA-bus probes all ports from 0x100 thru to 0x3E0
  188.  in increments of 0x020)
  189. hydra.c:
  190. Since this is a Zorro board, it supports full autoprobing, even for
  191. multiple boards. (m68k/Amiga)
  192. ibmtr.c:
  193. io = 0xa20, 0xa24 (autoprobed by default)
  194. irq = 0 (driver cannot select irq - read from hardware)
  195. mem = 0 (shared memory base set at 0xd0000 and not yet 
  196.          able to override thru mem= parameter.)
  197. lance.c: *Not modularized*
  198. (PCI, and ISA probing; "CONFIG_PCI" needed for PCI support)
  199. (Probes ISA ports: 0x300, 0x320, 0x340, 0x360)
  200. loopback.c: *Static kernel component*
  201. ne.c:
  202. io = 0 (Explicitly *requires* an "io=0xNNN" value)
  203. irq = 0 (Tries to determine configured IRQ via autoIRQ)
  204. (Probes ports: 0x300, 0x280, 0x320, 0x340, 0x360)
  205. net_init.c: *Static kernel component*
  206. ni52.c: *Not modularized*
  207. (Probes ports: 0x300, 0x280, 0x360, 0x320, 0x340
  208. mems: 0xD0000, 0xD2000, 0xC8000, 0xCA000,
  209. 0xD4000, 0xD6000, 0xD8000 )
  210. ni65.c: *Not modularized*  **16MB MEMORY BARRIER BUG**
  211. (Probes ports: 0x300, 0x320, 0x340, 0x360)
  212. pi2.c: *Not modularized* (well, NON-STANDARD modularization!)
  213. Only one card supported at this time.
  214. (Probes ports: 0x380, 0x300, 0x320, 0x340, 0x360, 0x3A0)
  215. plip.c:
  216. io = 0
  217. irq = 0 (by default, uses IRQ 5 for port at 0x3bc, IRQ 7
  218. for port at 0x378, and IRQ 2 for port at 0x278)
  219. (Probes ports: 0x278, 0x378, 0x3bc)
  220. ppp.c:
  221. No options (ppp-2.2+ has some, this is based on non-dynamic
  222. version from ppp-2.1.2d)
  223. seeq8005.c: *Not modularized*
  224. (Probes ports: 0x300, 0x320, 0x340, 0x360)
  225. sk_g16.c: *Not modularized*
  226. (Probes ports: 0x100, 0x180, 0x208, 0x220m 0x288, 0x320, 0x328, 0x390)
  227. skeleton.c: *Skeleton*
  228. slhc.c:
  229. No configuration parameters
  230. slip.c:
  231. slip_maxdev = 256 (default value from SL_NRUNIT on slip.h)
  232. smc-ultra.c:
  233. io = 0 (It will complain if you don't supply an "io=0xNNN")
  234. irq = 0 (IRQ val. read from EEPROM)
  235. (Probes ports: 0x200, 0x220, 0x240, 0x280, 0x300, 0x340, 0x380)
  236. tulip.c: *Partial modularization*
  237. (init-time memory allocation makes problems..)
  238. tunnel.c:
  239. No insmod parameters
  240. wavelan.c:
  241. io = 0x390 (Settable, but change not recommended)
  242. irq = 0 (Not honoured, if changed..)
  243. wd.c:
  244. io = 0 (It will complain if you don't supply an "io=0xNNN")
  245. irq = 0 (IRQ val. read from EEPROM, ancient cards use autoIRQ)
  246. mem = 0 (Force shared-memory on address 0xC8000, or whatever..)
  247. mem_end = 0 (Force non-std. mem. size via supplying mem_end val.)
  248. (eg. for 32k WD8003EBT, use mem=0xd0000 mem_end=0xd8000)
  249. (Probes ports: 0x300, 0x280, 0x380, 0x240)
  250. znet.c: *Not modularized*
  251. (Only one device on  Zenith Z-Note (notebook?) systems,
  252.  configuration information from (EE)PROM)