Kconfig 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638
  1. #
  2. # Character device configuration
  3. #
  4. menu "Character devices"
  5. source "drivers/tty/Kconfig"
  6. config DEVMEM
  7. bool "Memory device driver"
  8. default y
  9. help
  10. The memory driver provides two character devices, mem and kmem, which
  11. provide access to the system's memory. The mem device is a view of
  12. physical memory, and each byte in the device corresponds to the
  13. matching physical address. The kmem device is the same as mem, but
  14. the addresses correspond to the kernel's virtual address space rather
  15. than physical memory. These devices are standard parts of a Linux
  16. system and most users should say Y here. You might say N if very
  17. security conscience or memory is tight.
  18. config DEVKMEM
  19. bool "/dev/kmem virtual device support"
  20. default y
  21. help
  22. Say Y here if you want to support the /dev/kmem device. The
  23. /dev/kmem device is rarely used, but can be used for certain
  24. kind of kernel debugging operations.
  25. When in doubt, say "N".
  26. config STALDRV
  27. bool "Stallion multiport serial support"
  28. depends on SERIAL_NONSTANDARD
  29. help
  30. Stallion cards give you many serial ports. You would need something
  31. like this to connect more than two modems to your Linux box, for
  32. instance in order to become a dial-in server. If you say Y here,
  33. you will be asked for your specific card model in the next
  34. questions. Make sure to read <file:Documentation/serial/stallion.txt>
  35. in this case. If you have never heard about all this, it's safe to
  36. say N.
  37. config SGI_SNSC
  38. bool "SGI Altix system controller communication support"
  39. depends on (IA64_SGI_SN2 || IA64_GENERIC)
  40. help
  41. If you have an SGI Altix and you want to enable system
  42. controller communication from user space (you want this!),
  43. say Y. Otherwise, say N.
  44. config SGI_TIOCX
  45. bool "SGI TIO CX driver support"
  46. depends on (IA64_SGI_SN2 || IA64_GENERIC)
  47. help
  48. If you have an SGI Altix and you have fpga devices attached
  49. to your TIO, say Y here, otherwise say N.
  50. config SGI_MBCS
  51. tristate "SGI FPGA Core Services driver support"
  52. depends on SGI_TIOCX
  53. help
  54. If you have an SGI Altix with an attached SABrick
  55. say Y or M here, otherwise say N.
  56. source "drivers/tty/serial/Kconfig"
  57. config TTY_PRINTK
  58. bool "TTY driver to output user messages via printk"
  59. depends on EXPERT
  60. default n
  61. ---help---
  62. If you say Y here, the support for writing user messages (i.e.
  63. console messages) via printk is available.
  64. The feature is useful to inline user messages with kernel
  65. messages.
  66. In order to use this feature, you should output user messages
  67. to /dev/ttyprintk or redirect console to this TTY.
  68. If unsure, say N.
  69. config BRIQ_PANEL
  70. tristate 'Total Impact briQ front panel driver'
  71. depends on PPC_CHRP
  72. ---help---
  73. The briQ is a small footprint CHRP computer with a frontpanel VFD, a
  74. tristate led and two switches. It is the size of a CDROM drive.
  75. If you have such one and want anything showing on the VFD then you
  76. must answer Y here.
  77. To compile this driver as a module, choose M here: the
  78. module will be called briq_panel.
  79. It's safe to say N here.
  80. config BFIN_OTP
  81. tristate "Blackfin On-Chip OTP Memory Support"
  82. depends on BLACKFIN && (BF51x || BF52x || BF54x)
  83. default y
  84. help
  85. If you say Y here, you will get support for a character device
  86. interface into the One Time Programmable memory pages that are
  87. stored on the Blackfin processor. This will not get you access
  88. to the secure memory pages however. You will need to write your
  89. own secure code and reader for that.
  90. To compile this driver as a module, choose M here: the module
  91. will be called bfin-otp.
  92. If unsure, it is safe to say Y.
  93. config BFIN_OTP_WRITE_ENABLE
  94. bool "Enable writing support of OTP pages"
  95. depends on BFIN_OTP
  96. default n
  97. help
  98. If you say Y here, you will enable support for writing of the
  99. OTP pages. This is dangerous by nature as you can only program
  100. the pages once, so only enable this option when you actually
  101. need it so as to not inadvertently clobber data.
  102. If unsure, say N.
  103. config PRINTER
  104. tristate "Parallel printer support"
  105. depends on PARPORT
  106. ---help---
  107. If you intend to attach a printer to the parallel port of your Linux
  108. box (as opposed to using a serial printer; if the connector at the
  109. printer has 9 or 25 holes ["female"], then it's serial), say Y.
  110. Also read the Printing-HOWTO, available from
  111. <http://www.tldp.org/docs.html#howto>.
  112. It is possible to share one parallel port among several devices
  113. (e.g. printer and ZIP drive) and it is safe to compile the
  114. corresponding drivers into the kernel.
  115. To compile this driver as a module, choose M here and read
  116. <file:Documentation/parport.txt>. The module will be called lp.
  117. If you have several parallel ports, you can specify which ports to
  118. use with the "lp" kernel command line option. (Try "man bootparam"
  119. or see the documentation of your boot loader (lilo or loadlin) about
  120. how to pass options to the kernel at boot time.) The syntax of the
  121. "lp" command line option can be found in <file:drivers/char/lp.c>.
  122. If you have more than 8 printers, you need to increase the LP_NO
  123. macro in lp.c and the PARPORT_MAX macro in parport.h.
  124. config LP_CONSOLE
  125. bool "Support for console on line printer"
  126. depends on PRINTER
  127. ---help---
  128. If you want kernel messages to be printed out as they occur, you
  129. can have a console on the printer. This option adds support for
  130. doing that; to actually get it to happen you need to pass the
  131. option "console=lp0" to the kernel at boot time.
  132. If the printer is out of paper (or off, or unplugged, or too
  133. busy..) the kernel will stall until the printer is ready again.
  134. By defining CONSOLE_LP_STRICT to 0 (at your own risk) you
  135. can make the kernel continue when this happens,
  136. but it'll lose the kernel messages.
  137. If unsure, say N.
  138. config PPDEV
  139. tristate "Support for user-space parallel port device drivers"
  140. depends on PARPORT
  141. ---help---
  142. Saying Y to this adds support for /dev/parport device nodes. This
  143. is needed for programs that want portable access to the parallel
  144. port, for instance deviceid (which displays Plug-and-Play device
  145. IDs).
  146. This is the parallel port equivalent of SCSI generic support (sg).
  147. It is safe to say N to this -- it is not needed for normal printing
  148. or parallel port CD-ROM/disk support.
  149. To compile this driver as a module, choose M here: the
  150. module will be called ppdev.
  151. If unsure, say N.
  152. source "drivers/tty/hvc/Kconfig"
  153. config VIRTIO_CONSOLE
  154. tristate "Virtio console"
  155. depends on VIRTIO
  156. select HVC_DRIVER
  157. help
  158. Virtio console for use with lguest and other hypervisors.
  159. Also serves as a general-purpose serial device for data
  160. transfer between the guest and host. Character devices at
  161. /dev/vportNpn will be created when corresponding ports are
  162. found, where N is the device number and n is the port number
  163. within that device. If specified by the host, a sysfs
  164. attribute called 'name' will be populated with a name for
  165. the port which can be used by udev scripts to create a
  166. symlink to the device.
  167. config IBM_BSR
  168. tristate "IBM POWER Barrier Synchronization Register support"
  169. depends on PPC_PSERIES
  170. help
  171. This devices exposes a hardware mechanism for fast synchronization
  172. of threads across a large system which avoids bouncing a cacheline
  173. between several cores on a system
  174. source "drivers/char/ipmi/Kconfig"
  175. config DS1620
  176. tristate "NetWinder thermometer support"
  177. depends on ARCH_NETWINDER
  178. help
  179. Say Y here to include support for the thermal management hardware
  180. found in the NetWinder. This driver allows the user to control the
  181. temperature set points and to read the current temperature.
  182. It is also possible to say M here to build it as a module (ds1620)
  183. It is recommended to be used on a NetWinder, but it is not a
  184. necessity.
  185. config NWBUTTON
  186. tristate "NetWinder Button"
  187. depends on ARCH_NETWINDER
  188. ---help---
  189. If you say Y here and create a character device node /dev/nwbutton
  190. with major and minor numbers 10 and 158 ("man mknod"), then every
  191. time the orange button is pressed a number of times, the number of
  192. times the button was pressed will be written to that device.
  193. This is most useful for applications, as yet unwritten, which
  194. perform actions based on how many times the button is pressed in a
  195. row.
  196. Do not hold the button down for too long, as the driver does not
  197. alter the behaviour of the hardware reset circuitry attached to the
  198. button; it will still execute a hard reset if the button is held
  199. down for longer than approximately five seconds.
  200. To compile this driver as a module, choose M here: the
  201. module will be called nwbutton.
  202. Most people will answer Y to this question and "Reboot Using Button"
  203. below to be able to initiate a system shutdown from the button.
  204. config NWBUTTON_REBOOT
  205. bool "Reboot Using Button"
  206. depends on NWBUTTON
  207. help
  208. If you say Y here, then you will be able to initiate a system
  209. shutdown and reboot by pressing the orange button a number of times.
  210. The number of presses to initiate the shutdown is two by default,
  211. but this can be altered by modifying the value of NUM_PRESSES_REBOOT
  212. in nwbutton.h and recompiling the driver or, if you compile the
  213. driver as a module, you can specify the number of presses at load
  214. time with "insmod button reboot_count=<something>".
  215. config NWFLASH
  216. tristate "NetWinder flash support"
  217. depends on ARCH_NETWINDER
  218. ---help---
  219. If you say Y here and create a character device /dev/flash with
  220. major 10 and minor 160 you can manipulate the flash ROM containing
  221. the NetWinder firmware. Be careful as accidentally overwriting the
  222. flash contents can render your computer unbootable. On no account
  223. allow random users access to this device. :-)
  224. To compile this driver as a module, choose M here: the
  225. module will be called nwflash.
  226. If you're not sure, say N.
  227. source "drivers/char/hw_random/Kconfig"
  228. config NVRAM
  229. tristate "/dev/nvram support"
  230. depends on ATARI || X86 || (ARM && RTC_DRV_CMOS) || GENERIC_NVRAM
  231. ---help---
  232. If you say Y here and create a character special file /dev/nvram
  233. with major number 10 and minor number 144 using mknod ("man mknod"),
  234. you get read and write access to the extra bytes of non-volatile
  235. memory in the real time clock (RTC), which is contained in every PC
  236. and most Ataris. The actual number of bytes varies, depending on the
  237. nvram in the system, but is usually 114 (128-14 for the RTC).
  238. This memory is conventionally called "CMOS RAM" on PCs and "NVRAM"
  239. on Ataris. /dev/nvram may be used to view settings there, or to
  240. change them (with some utility). It could also be used to frequently
  241. save a few bits of very important data that may not be lost over
  242. power-off and for which writing to disk is too insecure. Note
  243. however that most NVRAM space in a PC belongs to the BIOS and you
  244. should NEVER idly tamper with it. See Ralf Brown's interrupt list
  245. for a guide to the use of CMOS bytes by your BIOS.
  246. On Atari machines, /dev/nvram is always configured and does not need
  247. to be selected.
  248. To compile this driver as a module, choose M here: the
  249. module will be called nvram.
  250. #
  251. # These legacy RTC drivers just cause too many conflicts with the generic
  252. # RTC framework ... let's not even try to coexist any more.
  253. #
  254. if RTC_LIB=n
  255. config RTC
  256. tristate "Enhanced Real Time Clock Support (legacy PC RTC driver)"
  257. depends on !PPC && !PARISC && !IA64 && !M68K && !SPARC && !FRV \
  258. && !ARM && !SUPERH && !S390 && !AVR32 && !BLACKFIN
  259. ---help---
  260. If you say Y here and create a character special file /dev/rtc with
  261. major number 10 and minor number 135 using mknod ("man mknod"), you
  262. will get access to the real time clock (or hardware clock) built
  263. into your computer.
  264. Every PC has such a clock built in. It can be used to generate
  265. signals from as low as 1Hz up to 8192Hz, and can also be used
  266. as a 24 hour alarm. It reports status information via the file
  267. /proc/driver/rtc and its behaviour is set by various ioctls on
  268. /dev/rtc.
  269. If you run Linux on a multiprocessor machine and said Y to
  270. "Symmetric Multi Processing" above, you should say Y here to read
  271. and set the RTC in an SMP compatible fashion.
  272. If you think you have a use for such a device (such as periodic data
  273. sampling), then say Y here, and read <file:Documentation/rtc.txt>
  274. for details.
  275. To compile this driver as a module, choose M here: the
  276. module will be called rtc.
  277. config JS_RTC
  278. tristate "Enhanced Real Time Clock Support"
  279. depends on SPARC32 && PCI
  280. ---help---
  281. If you say Y here and create a character special file /dev/rtc with
  282. major number 10 and minor number 135 using mknod ("man mknod"), you
  283. will get access to the real time clock (or hardware clock) built
  284. into your computer.
  285. Every PC has such a clock built in. It can be used to generate
  286. signals from as low as 1Hz up to 8192Hz, and can also be used
  287. as a 24 hour alarm. It reports status information via the file
  288. /proc/driver/rtc and its behaviour is set by various ioctls on
  289. /dev/rtc.
  290. If you think you have a use for such a device (such as periodic data
  291. sampling), then say Y here, and read <file:Documentation/rtc.txt>
  292. for details.
  293. To compile this driver as a module, choose M here: the
  294. module will be called js-rtc.
  295. config GEN_RTC
  296. tristate "Generic /dev/rtc emulation"
  297. depends on RTC!=y && !IA64 && !ARM && !M32R && !MIPS && !SPARC && !FRV && !S390 && !SUPERH && !AVR32 && !BLACKFIN
  298. ---help---
  299. If you say Y here and create a character special file /dev/rtc with
  300. major number 10 and minor number 135 using mknod ("man mknod"), you
  301. will get access to the real time clock (or hardware clock) built
  302. into your computer.
  303. It reports status information via the file /proc/driver/rtc and its
  304. behaviour is set by various ioctls on /dev/rtc. If you enable the
  305. "extended RTC operation" below it will also provide an emulation
  306. for RTC_UIE which is required by some programs and may improve
  307. precision in some cases.
  308. To compile this driver as a module, choose M here: the
  309. module will be called genrtc.
  310. config GEN_RTC_X
  311. bool "Extended RTC operation"
  312. depends on GEN_RTC
  313. help
  314. Provides an emulation for RTC_UIE which is required by some programs
  315. and may improve precision of the generic RTC support in some cases.
  316. config EFI_RTC
  317. bool "EFI Real Time Clock Services"
  318. depends on IA64
  319. config DS1302
  320. tristate "DS1302 RTC support"
  321. depends on M32R && (PLAT_M32700UT || PLAT_OPSPUT)
  322. help
  323. If you say Y here and create a character special file /dev/rtc with
  324. major number 121 and minor number 0 using mknod ("man mknod"), you
  325. will get access to the real time clock (or hardware clock) built
  326. into your computer.
  327. endif # RTC_LIB
  328. config DTLK
  329. tristate "Double Talk PC internal speech card support"
  330. depends on ISA
  331. help
  332. This driver is for the DoubleTalk PC, a speech synthesizer
  333. manufactured by RC Systems (<http://www.rcsys.com/>). It is also
  334. called the `internal DoubleTalk'.
  335. To compile this driver as a module, choose M here: the
  336. module will be called dtlk.
  337. config XILINX_HWICAP
  338. tristate "Xilinx HWICAP Support"
  339. depends on XILINX_VIRTEX || MICROBLAZE
  340. help
  341. This option enables support for Xilinx Internal Configuration
  342. Access Port (ICAP) driver. The ICAP is used on Xilinx Virtex
  343. FPGA platforms to partially reconfigure the FPGA at runtime.
  344. If unsure, say N.
  345. config R3964
  346. tristate "Siemens R3964 line discipline"
  347. ---help---
  348. This driver allows synchronous communication with devices using the
  349. Siemens R3964 packet protocol. Unless you are dealing with special
  350. hardware like PLCs, you are unlikely to need this.
  351. To compile this driver as a module, choose M here: the
  352. module will be called n_r3964.
  353. If unsure, say N.
  354. config APPLICOM
  355. tristate "Applicom intelligent fieldbus card support"
  356. depends on PCI
  357. ---help---
  358. This driver provides the kernel-side support for the intelligent
  359. fieldbus cards made by Applicom International. More information
  360. about these cards can be found on the WWW at the address
  361. <http://www.applicom-int.com/>, or by email from David Woodhouse
  362. <dwmw2@infradead.org>.
  363. To compile this driver as a module, choose M here: the
  364. module will be called applicom.
  365. If unsure, say N.
  366. config SONYPI
  367. tristate "Sony Vaio Programmable I/O Control Device support (EXPERIMENTAL)"
  368. depends on EXPERIMENTAL && X86 && PCI && INPUT && !64BIT
  369. ---help---
  370. This driver enables access to the Sony Programmable I/O Control
  371. Device which can be found in many (all ?) Sony Vaio laptops.
  372. If you have one of those laptops, read
  373. <file:Documentation/laptops/sonypi.txt>, and say Y or M here.
  374. To compile this driver as a module, choose M here: the
  375. module will be called sonypi.
  376. config GPIO_TB0219
  377. tristate "TANBAC TB0219 GPIO support"
  378. depends on TANBAC_TB022X
  379. select GPIO_VR41XX
  380. source "drivers/char/pcmcia/Kconfig"
  381. config MWAVE
  382. tristate "ACP Modem (Mwave) support"
  383. depends on X86
  384. select SERIAL_8250
  385. ---help---
  386. The ACP modem (Mwave) for Linux is a WinModem. It is composed of a
  387. kernel driver and a user level application. Together these components
  388. support direct attachment to public switched telephone networks (PSTNs)
  389. and support selected world wide countries.
  390. This version of the ACP Modem driver supports the IBM Thinkpad 600E,
  391. 600, and 770 that include on board ACP modem hardware.
  392. The modem also supports the standard communications port interface
  393. (ttySx) and is compatible with the Hayes AT Command Set.
  394. The user level application needed to use this driver can be found at
  395. the IBM Linux Technology Center (LTC) web site:
  396. <http://www.ibm.com/linux/ltc/>.
  397. If you own one of the above IBM Thinkpads which has the Mwave chipset
  398. in it, say Y.
  399. To compile this driver as a module, choose M here: the
  400. module will be called mwave.
  401. config SCx200_GPIO
  402. tristate "NatSemi SCx200 GPIO Support"
  403. depends on SCx200
  404. select NSC_GPIO
  405. help
  406. Give userspace access to the GPIO pins on the National
  407. Semiconductor SCx200 processors.
  408. If compiled as a module, it will be called scx200_gpio.
  409. config PC8736x_GPIO
  410. tristate "NatSemi PC8736x GPIO Support"
  411. depends on X86_32
  412. default SCx200_GPIO # mostly N
  413. select NSC_GPIO # needed for support routines
  414. help
  415. Give userspace access to the GPIO pins on the National
  416. Semiconductor PC-8736x (x=[03456]) SuperIO chip. The chip
  417. has multiple functional units, inc several managed by
  418. hwmon/pc87360 driver. Tested with PC-87366
  419. If compiled as a module, it will be called pc8736x_gpio.
  420. config NSC_GPIO
  421. tristate "NatSemi Base GPIO Support"
  422. depends on X86_32
  423. # selected by SCx200_GPIO and PC8736x_GPIO
  424. # what about 2 selectors differing: m != y
  425. help
  426. Common support used (and needed) by scx200_gpio and
  427. pc8736x_gpio drivers. If those drivers are built as
  428. modules, this one will be too, named nsc_gpio
  429. config RAW_DRIVER
  430. tristate "RAW driver (/dev/raw/rawN)"
  431. depends on BLOCK
  432. help
  433. The raw driver permits block devices to be bound to /dev/raw/rawN.
  434. Once bound, I/O against /dev/raw/rawN uses efficient zero-copy I/O.
  435. See the raw(8) manpage for more details.
  436. Applications should preferably open the device (eg /dev/hda1)
  437. with the O_DIRECT flag.
  438. config MAX_RAW_DEVS
  439. int "Maximum number of RAW devices to support (1-65536)"
  440. depends on RAW_DRIVER
  441. default "256"
  442. help
  443. The maximum number of RAW devices that are supported.
  444. Default is 256. Increase this number in case you need lots of
  445. raw devices.
  446. config HPET
  447. bool "HPET - High Precision Event Timer" if (X86 || IA64)
  448. default n
  449. depends on ACPI
  450. help
  451. If you say Y here, you will have a miscdevice named "/dev/hpet/". Each
  452. open selects one of the timers supported by the HPET. The timers are
  453. non-periodic and/or periodic.
  454. config HPET_MMAP
  455. bool "Allow mmap of HPET"
  456. default y
  457. depends on HPET
  458. help
  459. If you say Y here, user applications will be able to mmap
  460. the HPET registers.
  461. In some hardware implementations, the page containing HPET
  462. registers may also contain other things that shouldn't be
  463. exposed to the user. If this applies to your hardware,
  464. say N here.
  465. config HANGCHECK_TIMER
  466. tristate "Hangcheck timer"
  467. depends on X86 || IA64 || PPC64 || S390
  468. help
  469. The hangcheck-timer module detects when the system has gone
  470. out to lunch past a certain margin. It can reboot the system
  471. or merely print a warning.
  472. config MMTIMER
  473. tristate "MMTIMER Memory mapped RTC for SGI Altix"
  474. depends on IA64_GENERIC || IA64_SGI_SN2
  475. default y
  476. help
  477. The mmtimer device allows direct userspace access to the
  478. Altix system timer.
  479. config UV_MMTIMER
  480. tristate "UV_MMTIMER Memory mapped RTC for SGI UV"
  481. depends on X86_UV
  482. default m
  483. help
  484. The uv_mmtimer device allows direct userspace access to the
  485. UV system timer.
  486. source "drivers/char/tpm/Kconfig"
  487. config TELCLOCK
  488. tristate "Telecom clock driver for ATCA SBC"
  489. depends on EXPERIMENTAL && X86
  490. default n
  491. help
  492. The telecom clock device is specific to the MPCBL0010 and MPCBL0050
  493. ATCA computers and allows direct userspace access to the
  494. configuration of the telecom clock configuration settings. This
  495. device is used for hardware synchronization across the ATCA backplane
  496. fabric. Upon loading, the driver exports a sysfs directory,
  497. /sys/devices/platform/telco_clock, with a number of files for
  498. controlling the behavior of this hardware.
  499. config DEVPORT
  500. bool
  501. depends on !M68K
  502. depends on ISA || PCI
  503. default y
  504. config DCC_TTY
  505. tristate "DCC tty driver"
  506. depends on ARM
  507. source "drivers/s390/char/Kconfig"
  508. config RAMOOPS
  509. tristate "Log panic/oops to a RAM buffer"
  510. depends on HAS_IOMEM
  511. default n
  512. help
  513. This enables panic and oops messages to be logged to a circular
  514. buffer in RAM where it can be read back at some later point.
  515. config MSM_SMD_PKT
  516. bool "Enable device interface for some SMD packet ports"
  517. default n
  518. depends on MSM_SMD
  519. help
  520. Enables userspace clients to read and write to some packet SMD
  521. ports via device interface for MSM chipset.
  522. endmenu