Kconfig 20 KB

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