Kconfig 14 KB

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