Kconfig 20 KB

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