Kconfig 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  1. #
  2. # Ftape configuration
  3. #
  4. config ZFTAPE
  5. tristate "Zftape, the VFS interface"
  6. depends on FTAPE
  7. ---help---
  8. Normally, you want to say Y or M. DON'T say N here or you
  9. WON'T BE ABLE TO USE YOUR FLOPPY TAPE DRIVE.
  10. The ftape module itself no longer contains the routines necessary
  11. to interface with the kernel VFS layer (i.e. to actually write data
  12. to and read data from the tape drive). Instead the file system
  13. interface (i.e. the hardware independent part of the driver) has
  14. been moved to a separate module.
  15. To compile this driver as a module, choose M here: the
  16. module will be called zftape.
  17. Regardless of whether you say Y or M here, an additional runtime
  18. loadable module called `zft-compressor' which contains code to
  19. support user transparent on-the-fly compression based on Ross
  20. William's lzrw3 algorithm will be produced. If you have enabled the
  21. kernel module loader (i.e. have said Y to "Kernel module loader
  22. support", above) then `zft-compressor' will be loaded
  23. automatically by zftape when needed.
  24. Despite its name, zftape does NOT use compression by default.
  25. config ZFT_DFLT_BLK_SZ
  26. int "Default block size"
  27. depends on ZFTAPE
  28. default "10240"
  29. ---help---
  30. If unsure leave this at its default value, i.e. 10240. Note that
  31. you specify only the default block size here. The block size can be
  32. changed at run time using the MTSETBLK tape operation with the
  33. MTIOCTOP ioctl (i.e. with "mt -f /dev/qft0 setblk #BLKSZ" from the
  34. shell command line).
  35. The probably most striking difference between zftape and previous
  36. versions of ftape is the fact that all data must be written or read
  37. in multiples of a fixed block size. The block size defaults to
  38. 10240 which is what GNU tar uses. The values for the block size
  39. should be either 1 or multiples of 1024 up to a maximum value of
  40. 63488 (i.e. 62 K). If you specify `1' then zftape's builtin
  41. compression will be disabled.
  42. Reasonable values are `10240' (GNU tar's default block size),
  43. `5120' (afio's default block size), `32768' (default block size some
  44. backup programs assume for SCSI tape drives) or `1' (no restriction
  45. on block size, but disables builtin compression).
  46. comment "The compressor will be built as a module only!"
  47. depends on FTAPE && ZFTAPE
  48. config ZFT_COMPRESSOR
  49. tristate
  50. depends on FTAPE!=n && ZFTAPE!=n
  51. default m
  52. config FT_NR_BUFFERS
  53. int "Number of ftape buffers (EXPERIMENTAL)"
  54. depends on FTAPE && EXPERIMENTAL
  55. default "3"
  56. help
  57. Please leave this at `3' unless you REALLY know what you are doing.
  58. It is not necessary to change this value. Values below 3 make the
  59. proper use of ftape impossible, values greater than 3 are a waste of
  60. memory. You can change the amount of DMA memory used by ftape at
  61. runtime with "mt -f /dev/qft0 setdrvbuffer #NUMBUFFERS". Each buffer
  62. wastes 32 KB of memory. Please note that this memory cannot be
  63. swapped out.
  64. config FT_PROC_FS
  65. bool "Enable procfs status report (+2kb)"
  66. depends on FTAPE && PROC_FS
  67. ---help---
  68. Optional. Saying Y will result in creation of a directory
  69. `/proc/ftape' under the /proc file system. The files can be viewed
  70. with your favorite pager (i.e. use "more /proc/ftape/history" or
  71. "less /proc/ftape/history" or simply "cat /proc/ftape/history"). The
  72. file will contain some status information about the inserted
  73. cartridge, the kernel driver, your tape drive, the floppy disk
  74. controller and the error history for the most recent use of the
  75. kernel driver. Saying Y will enlarge the size of the ftape driver
  76. by approximately 2 KB.
  77. WARNING: When compiling ftape as a module (i.e. saying M to "Floppy
  78. tape drive") it is dangerous to use ftape's /proc file system
  79. interface. Accessing `/proc/ftape' while the module is unloaded will
  80. result in a kernel Oops. This cannot be fixed from inside ftape.
  81. choice
  82. prompt "Debugging output"
  83. depends on FTAPE
  84. default FT_NORMAL_DEBUG
  85. config FT_NORMAL_DEBUG
  86. bool "Normal"
  87. ---help---
  88. This option controls the amount of debugging output the ftape driver
  89. is ABLE to produce; it does not increase or diminish the debugging
  90. level itself. If unsure, leave this at its default setting,
  91. i.e. choose "Normal".
  92. Ftape can print lots of debugging messages to the system console
  93. resp. kernel log files. Reducing the amount of possible debugging
  94. output reduces the size of the kernel module by some KB, so it might
  95. be a good idea to use "None" for emergency boot floppies.
  96. If you want to save memory then the following strategy is
  97. recommended: leave this option at its default setting "Normal" until
  98. you know that the driver works as expected, afterwards reconfigure
  99. the kernel, this time specifying "Reduced" or "None" and recompile
  100. and install the kernel as usual. Note that choosing "Excessive"
  101. debugging output does not increase the amount of debugging output
  102. printed to the console but only makes it possible to produce
  103. "Excessive" debugging output.
  104. Please read <file:Documentation/ftape.txt> for a short description
  105. how to control the amount of debugging output.
  106. config FT_FULL_DEBUG
  107. bool "Excessive"
  108. help
  109. Extremely verbose output for driver debugging purposes.
  110. config FT_NO_TRACE
  111. bool "Reduced"
  112. help
  113. Reduced tape driver debugging output.
  114. config FT_NO_TRACE_AT_ALL
  115. bool "None"
  116. help
  117. Suppress all debugging output from the tape drive.
  118. endchoice
  119. comment "Hardware configuration"
  120. depends on FTAPE
  121. choice
  122. prompt "Floppy tape controllers"
  123. depends on FTAPE
  124. default FT_STD_FDC
  125. config FT_STD_FDC
  126. bool "Standard"
  127. ---help---
  128. Only change this setting if you have a special controller. If you
  129. didn't plug any add-on card into your computer system but just
  130. plugged the floppy tape cable into the already existing floppy drive
  131. controller then you don't want to change the default setting,
  132. i.e. choose "Standard".
  133. Choose "MACH-2" if you have a Mountain Mach-2 controller.
  134. Choose "FC-10/FC-20" if you have a Colorado FC-10 or FC-20
  135. controller.
  136. Choose "Alt/82078" if you have another controller that is located at
  137. an IO base address different from the standard floppy drive
  138. controller's base address of `0x3f0', or uses an IRQ (interrupt)
  139. channel different from `6', or a DMA channel different from
  140. `2'. This is necessary for any controller card that is based on
  141. Intel's 82078 FDC such as Seagate's, Exabyte's and Iomega's "high
  142. speed" controllers.
  143. If you choose something other than "Standard" then please make
  144. sure that the settings for the IO base address and the IRQ and DMA
  145. channel in the configuration menus below are correct. Use the manual
  146. of your tape drive to determine the correct settings!
  147. If you are already successfully using your tape drive with another
  148. operating system then you definitely should use the same settings
  149. for the IO base, the IRQ and DMA channel that have proven to work
  150. with that other OS.
  151. Note that this menu lets you specify only the default setting for
  152. the hardware setup. The hardware configuration can be changed at
  153. boot time (when ftape is compiled into the kernel, i.e. if you
  154. have said Y to "Floppy tape drive") or module load time (i.e. if you
  155. have said M to "Floppy tape drive").
  156. Please read also the file <file:Documentation/ftape.txt> which
  157. contains a short description of the parameters that can be set at
  158. boot or load time. If you want to use your floppy tape drive on a
  159. PCI-bus based system, please read the file
  160. <file:drivers/char/ftape/README.PCI>.
  161. config FT_MACH2
  162. bool "MACH-2"
  163. config FT_PROBE_FC10
  164. bool "FC-10/FC-20"
  165. config FT_ALT_FDC
  166. bool "Alt/82078"
  167. endchoice
  168. comment "Consult the manuals of your tape drive for the correct settings!"
  169. depends on FTAPE && !FT_STD_FDC
  170. config FT_FDC_BASE
  171. hex "IO base of the floppy disk controller"
  172. depends on FTAPE && !FT_STD_FDC
  173. default "0"
  174. ---help---
  175. You don't need to specify a value if the following default
  176. settings for the base IO address are correct:
  177. <<< MACH-2 : 0x1E0 >>>
  178. <<< FC-10/FC-20: 0x180 >>>
  179. <<< Secondary : 0x370 >>>
  180. Secondary refers to a secondary FDC controller like the "high speed"
  181. controllers delivered by Seagate or Exabyte or Iomega's Ditto Dash.
  182. Please make sure that the setting for the IO base address
  183. specified here is correct. USE THE MANUAL OF YOUR TAPE DRIVE OR
  184. CONTROLLER CARD TO DETERMINE THE CORRECT SETTING. If you are already
  185. successfully using the tape drive with another operating system then
  186. you definitely should use the same settings for the IO base that has
  187. proven to work with that other OS.
  188. Note that this menu lets you specify only the default setting for
  189. the IO base. The hardware configuration can be changed at boot time
  190. (when ftape is compiled into the kernel, i.e. if you specified Y to
  191. "Floppy tape drive") or module load time (i.e. if you have said M to
  192. "Floppy tape drive").
  193. Please read also the file <file:Documentation/ftape.txt> which
  194. contains a short description of the parameters that can be set at
  195. boot or load time.
  196. config FT_FDC_IRQ
  197. int "IRQ channel of the floppy disk controller"
  198. depends on FTAPE && !FT_STD_FDC
  199. default "0"
  200. ---help---
  201. You don't need to specify a value if the following default
  202. settings for the interrupt channel are correct:
  203. <<< MACH-2 : 6 >>>
  204. <<< FC-10/FC-20: 9 >>>
  205. <<< Secondary : 6 >>>
  206. Secondary refers to secondary a FDC controller like the "high speed"
  207. controllers delivered by Seagate or Exabyte or Iomega's Ditto Dash.
  208. Please make sure that the setting for the IO base address
  209. specified here is correct. USE THE MANUAL OF YOUR TAPE DRIVE OR
  210. CONTROLLER CARD TO DETERMINE THE CORRECT SETTING. If you are already
  211. successfully using the tape drive with another operating system then
  212. you definitely should use the same settings for the IO base that has
  213. proven to work with that other OS.
  214. Note that this menu lets you specify only the default setting for
  215. the IRQ channel. The hardware configuration can be changed at boot
  216. time (when ftape is compiled into the kernel, i.e. if you said Y to
  217. "Floppy tape drive") or module load time (i.e. if you said M to
  218. "Floppy tape drive").
  219. Please read also the file <file:Documentation/ftape.txt> which
  220. contains a short description of the parameters that can be set at
  221. boot or load time.
  222. config FT_FDC_DMA
  223. int "DMA channel of the floppy disk controller"
  224. depends on FTAPE && !FT_STD_FDC
  225. default "0"
  226. ---help---
  227. You don't need to specify a value if the following default
  228. settings for the DMA channel are correct:
  229. <<< MACH-2 : 2 >>>
  230. <<< FC-10/FC-20: 3 >>>
  231. <<< Secondary : 2 >>>
  232. Secondary refers to a secondary FDC controller like the "high speed"
  233. controllers delivered by Seagate or Exabyte or Iomega's Ditto Dash.
  234. Please make sure that the setting for the IO base address
  235. specified here is correct. USE THE MANUAL OF YOUR TAPE DRIVE OR
  236. CONTROLLER CARD TO DETERMINE THE CORRECT SETTING. If you are already
  237. successfully using the tape drive with another operating system then
  238. you definitely should use the same settings for the IO base that has
  239. proven to work with that other OS.
  240. Note that this menu lets you specify only the default setting for
  241. the DMA channel. The hardware configuration can be changed at boot
  242. time (when ftape is compiled into the kernel, i.e. if you said Y to
  243. "Floppy tape drive") or module load time (i.e. if you said M to
  244. "Floppy tape drive").
  245. Please read also the file <file:Documentation/ftape.txt> which
  246. contains a short description of the parameters that can be set at
  247. boot or load time.
  248. config FT_FDC_THR
  249. int "Default FIFO threshold (EXPERIMENTAL)"
  250. depends on FTAPE && EXPERIMENTAL
  251. default "8"
  252. help
  253. Set the FIFO threshold of the FDC. If this is higher the DMA
  254. controller may serve the FDC after a higher latency time. If this is
  255. lower, fewer DMA transfers occur leading to less bus contention.
  256. You may try to tune this if ftape annoys you with "reduced data
  257. rate because of excessive overrun errors" messages. However, this
  258. doesn't seem to have too much effect.
  259. If unsure, don't touch the initial value, i.e. leave it at "8".
  260. config FT_FDC_MAX_RATE
  261. int "Maximal data rate to use (EXPERIMENTAL)"
  262. depends on FTAPE && EXPERIMENTAL
  263. default "2000"
  264. ---help---
  265. With some motherboard/FDC combinations ftape will not be able to
  266. run your FDC/tape drive combination at the highest available
  267. speed. If this is the case you'll encounter "reduced data rate
  268. because of excessive overrun errors" messages and lots of retries
  269. before ftape finally decides to reduce the data rate.
  270. In this case it might be desirable to tell ftape beforehand that
  271. it need not try to run the tape drive at the highest available
  272. speed. If unsure, leave this disabled, i.e. leave it at 2000
  273. bits/sec.
  274. config FT_ALPHA_CLOCK
  275. int "CPU clock frequency of your DEC Alpha" if ALPHA
  276. depends on FTAPE
  277. default "0"
  278. help
  279. On some DEC Alpha machines the CPU clock frequency cannot be
  280. determined automatically, so you need to specify it here ONLY if
  281. running a DEC Alpha, otherwise this setting has no effect.