Kconfig 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609
  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. source "drivers/char/ipmi/Kconfig"
  149. config DS1620
  150. tristate "NetWinder thermometer support"
  151. depends on ARCH_NETWINDER
  152. help
  153. Say Y here to include support for the thermal management hardware
  154. found in the NetWinder. This driver allows the user to control the
  155. temperature set points and to read the current temperature.
  156. It is also possible to say M here to build it as a module (ds1620)
  157. It is recommended to be used on a NetWinder, but it is not a
  158. necessity.
  159. config NWBUTTON
  160. tristate "NetWinder Button"
  161. depends on ARCH_NETWINDER
  162. ---help---
  163. If you say Y here and create a character device node /dev/nwbutton
  164. with major and minor numbers 10 and 158 ("man mknod"), then every
  165. time the orange button is pressed a number of times, the number of
  166. times the button was pressed will be written to that device.
  167. This is most useful for applications, as yet unwritten, which
  168. perform actions based on how many times the button is pressed in a
  169. row.
  170. Do not hold the button down for too long, as the driver does not
  171. alter the behaviour of the hardware reset circuitry attached to the
  172. button; it will still execute a hard reset if the button is held
  173. down for longer than approximately five seconds.
  174. To compile this driver as a module, choose M here: the
  175. module will be called nwbutton.
  176. Most people will answer Y to this question and "Reboot Using Button"
  177. below to be able to initiate a system shutdown from the button.
  178. config NWBUTTON_REBOOT
  179. bool "Reboot Using Button"
  180. depends on NWBUTTON
  181. help
  182. If you say Y here, then you will be able to initiate a system
  183. shutdown and reboot by pressing the orange button a number of times.
  184. The number of presses to initiate the shutdown is two by default,
  185. but this can be altered by modifying the value of NUM_PRESSES_REBOOT
  186. in nwbutton.h and recompiling the driver or, if you compile the
  187. driver as a module, you can specify the number of presses at load
  188. time with "insmod button reboot_count=<something>".
  189. config NWFLASH
  190. tristate "NetWinder flash support"
  191. depends on ARCH_NETWINDER
  192. ---help---
  193. If you say Y here and create a character device /dev/flash with
  194. major 10 and minor 160 you can manipulate the flash ROM containing
  195. the NetWinder firmware. Be careful as accidentally overwriting the
  196. flash contents can render your computer unbootable. On no account
  197. allow random users access to this device. :-)
  198. To compile this driver as a module, choose M here: the
  199. module will be called nwflash.
  200. If you're not sure, say N.
  201. source "drivers/char/hw_random/Kconfig"
  202. config NVRAM
  203. tristate "/dev/nvram support"
  204. depends on ATARI || X86 || (ARM && RTC_DRV_CMOS) || GENERIC_NVRAM
  205. ---help---
  206. If you say Y here and create a character special file /dev/nvram
  207. with major number 10 and minor number 144 using mknod ("man mknod"),
  208. you get read and write access to the extra bytes of non-volatile
  209. memory in the real time clock (RTC), which is contained in every PC
  210. and most Ataris. The actual number of bytes varies, depending on the
  211. nvram in the system, but is usually 114 (128-14 for the RTC).
  212. This memory is conventionally called "CMOS RAM" on PCs and "NVRAM"
  213. on Ataris. /dev/nvram may be used to view settings there, or to
  214. change them (with some utility). It could also be used to frequently
  215. save a few bits of very important data that may not be lost over
  216. power-off and for which writing to disk is too insecure. Note
  217. however that most NVRAM space in a PC belongs to the BIOS and you
  218. should NEVER idly tamper with it. See Ralf Brown's interrupt list
  219. for a guide to the use of CMOS bytes by your BIOS.
  220. On Atari machines, /dev/nvram is always configured and does not need
  221. to be selected.
  222. To compile this driver as a module, choose M here: the
  223. module will be called nvram.
  224. #
  225. # These legacy RTC drivers just cause too many conflicts with the generic
  226. # RTC framework ... let's not even try to coexist any more.
  227. #
  228. if RTC_LIB=n
  229. config RTC
  230. tristate "Enhanced Real Time Clock Support (legacy PC RTC driver)"
  231. depends on !PPC && !PARISC && !IA64 && !M68K && !SPARC && !FRV \
  232. && !ARM && !SUPERH && !S390 && !AVR32 && !BLACKFIN && !UML
  233. ---help---
  234. If you say Y here and create a character special file /dev/rtc with
  235. major number 10 and minor number 135 using mknod ("man mknod"), you
  236. will get access to the real time clock (or hardware clock) built
  237. into your computer.
  238. Every PC has such a clock built in. It can be used to generate
  239. signals from as low as 1Hz up to 8192Hz, and can also be used
  240. as a 24 hour alarm. It reports status information via the file
  241. /proc/driver/rtc and its behaviour is set by various ioctls on
  242. /dev/rtc.
  243. If you run Linux on a multiprocessor machine and said Y to
  244. "Symmetric Multi Processing" above, you should say Y here to read
  245. and set the RTC in an SMP compatible fashion.
  246. If you think you have a use for such a device (such as periodic data
  247. sampling), then say Y here, and read <file:Documentation/rtc.txt>
  248. for details.
  249. To compile this driver as a module, choose M here: the
  250. module will be called rtc.
  251. config JS_RTC
  252. tristate "Enhanced Real Time Clock Support"
  253. depends on SPARC32 && PCI
  254. ---help---
  255. If you say Y here and create a character special file /dev/rtc with
  256. major number 10 and minor number 135 using mknod ("man mknod"), you
  257. will get access to the real time clock (or hardware clock) built
  258. into your computer.
  259. Every PC has such a clock built in. It can be used to generate
  260. signals from as low as 1Hz up to 8192Hz, and can also be used
  261. as a 24 hour alarm. It reports status information via the file
  262. /proc/driver/rtc and its behaviour is set by various ioctls on
  263. /dev/rtc.
  264. If you think you have a use for such a device (such as periodic data
  265. sampling), then say Y here, and read <file:Documentation/rtc.txt>
  266. for details.
  267. To compile this driver as a module, choose M here: the
  268. module will be called js-rtc.
  269. config GEN_RTC
  270. tristate "Generic /dev/rtc emulation"
  271. depends on RTC!=y && !IA64 && !ARM && !M32R && !MIPS && !SPARC && !FRV && !S390 && !SUPERH && !AVR32 && !BLACKFIN && !UML
  272. ---help---
  273. If you say Y here and create a character special file /dev/rtc with
  274. major number 10 and minor number 135 using mknod ("man mknod"), you
  275. will get access to the real time clock (or hardware clock) built
  276. into your computer.
  277. It reports status information via the file /proc/driver/rtc and its
  278. behaviour is set by various ioctls on /dev/rtc. If you enable the
  279. "extended RTC operation" below it will also provide an emulation
  280. for RTC_UIE which is required by some programs and may improve
  281. precision in some cases.
  282. To compile this driver as a module, choose M here: the
  283. module will be called genrtc.
  284. config GEN_RTC_X
  285. bool "Extended RTC operation"
  286. depends on GEN_RTC
  287. help
  288. Provides an emulation for RTC_UIE which is required by some programs
  289. and may improve precision of the generic RTC support in some cases.
  290. config EFI_RTC
  291. bool "EFI Real Time Clock Services"
  292. depends on IA64
  293. config DS1302
  294. tristate "DS1302 RTC support"
  295. depends on M32R && (PLAT_M32700UT || PLAT_OPSPUT)
  296. help
  297. If you say Y here and create a character special file /dev/rtc with
  298. major number 121 and minor number 0 using mknod ("man mknod"), you
  299. will get access to the real time clock (or hardware clock) built
  300. into your computer.
  301. endif # RTC_LIB
  302. config DTLK
  303. tristate "Double Talk PC internal speech card support"
  304. depends on ISA
  305. help
  306. This driver is for the DoubleTalk PC, a speech synthesizer
  307. manufactured by RC Systems (<http://www.rcsys.com/>). It is also
  308. called the `internal DoubleTalk'.
  309. To compile this driver as a module, choose M here: the
  310. module will be called dtlk.
  311. config XILINX_HWICAP
  312. tristate "Xilinx HWICAP Support"
  313. depends on XILINX_VIRTEX || MICROBLAZE
  314. help
  315. This option enables support for Xilinx Internal Configuration
  316. Access Port (ICAP) driver. The ICAP is used on Xilinx Virtex
  317. FPGA platforms to partially reconfigure the FPGA at runtime.
  318. If unsure, say N.
  319. config R3964
  320. tristate "Siemens R3964 line discipline"
  321. depends on TTY && BROKEN
  322. ---help---
  323. This driver allows synchronous communication with devices using the
  324. Siemens R3964 packet protocol. Unless you are dealing with special
  325. hardware like PLCs, you are unlikely to need this.
  326. To compile this driver as a module, choose M here: the
  327. module will be called n_r3964.
  328. If unsure, say N.
  329. config APPLICOM
  330. tristate "Applicom intelligent fieldbus card support"
  331. depends on PCI
  332. ---help---
  333. This driver provides the kernel-side support for the intelligent
  334. fieldbus cards made by Applicom International. More information
  335. about these cards can be found on the WWW at the address
  336. <http://www.applicom-int.com/>, or by email from David Woodhouse
  337. <dwmw2@infradead.org>.
  338. To compile this driver as a module, choose M here: the
  339. module will be called applicom.
  340. If unsure, say N.
  341. config SONYPI
  342. tristate "Sony Vaio Programmable I/O Control Device support"
  343. depends on X86_32 && PCI && INPUT
  344. ---help---
  345. This driver enables access to the Sony Programmable I/O Control
  346. Device which can be found in many (all ?) Sony Vaio laptops.
  347. If you have one of those laptops, read
  348. <file:Documentation/laptops/sonypi.txt>, and say Y or M here.
  349. To compile this driver as a module, choose M here: the
  350. module will be called sonypi.
  351. config GPIO_TB0219
  352. tristate "TANBAC TB0219 GPIO support"
  353. depends on TANBAC_TB022X
  354. select GPIO_VR41XX
  355. source "drivers/char/pcmcia/Kconfig"
  356. config MWAVE
  357. tristate "ACP Modem (Mwave) support"
  358. depends on X86 && TTY
  359. select SERIAL_8250
  360. ---help---
  361. The ACP modem (Mwave) for Linux is a WinModem. It is composed of a
  362. kernel driver and a user level application. Together these components
  363. support direct attachment to public switched telephone networks (PSTNs)
  364. and support selected world wide countries.
  365. This version of the ACP Modem driver supports the IBM Thinkpad 600E,
  366. 600, and 770 that include on board ACP modem hardware.
  367. The modem also supports the standard communications port interface
  368. (ttySx) and is compatible with the Hayes AT Command Set.
  369. The user level application needed to use this driver can be found at
  370. the IBM Linux Technology Center (LTC) web site:
  371. <http://www.ibm.com/linux/ltc/>.
  372. If you own one of the above IBM Thinkpads which has the Mwave chipset
  373. in it, say Y.
  374. To compile this driver as a module, choose M here: the
  375. module will be called mwave.
  376. config SCx200_GPIO
  377. tristate "NatSemi SCx200 GPIO Support"
  378. depends on SCx200
  379. select NSC_GPIO
  380. help
  381. Give userspace access to the GPIO pins on the National
  382. Semiconductor SCx200 processors.
  383. If compiled as a module, it will be called scx200_gpio.
  384. config PC8736x_GPIO
  385. tristate "NatSemi PC8736x GPIO Support"
  386. depends on X86_32 && !UML
  387. default SCx200_GPIO # mostly N
  388. select NSC_GPIO # needed for support routines
  389. help
  390. Give userspace access to the GPIO pins on the National
  391. Semiconductor PC-8736x (x=[03456]) SuperIO chip. The chip
  392. has multiple functional units, inc several managed by
  393. hwmon/pc87360 driver. Tested with PC-87366
  394. If compiled as a module, it will be called pc8736x_gpio.
  395. config NSC_GPIO
  396. tristate "NatSemi Base GPIO Support"
  397. depends on X86_32
  398. # selected by SCx200_GPIO and PC8736x_GPIO
  399. # what about 2 selectors differing: m != y
  400. help
  401. Common support used (and needed) by scx200_gpio and
  402. pc8736x_gpio drivers. If those drivers are built as
  403. modules, this one will be too, named nsc_gpio
  404. config RAW_DRIVER
  405. tristate "RAW driver (/dev/raw/rawN)"
  406. depends on BLOCK
  407. help
  408. The raw driver permits block devices to be bound to /dev/raw/rawN.
  409. Once bound, I/O against /dev/raw/rawN uses efficient zero-copy I/O.
  410. See the raw(8) manpage for more details.
  411. Applications should preferably open the device (eg /dev/hda1)
  412. with the O_DIRECT flag.
  413. config MAX_RAW_DEVS
  414. int "Maximum number of RAW devices to support (1-65536)"
  415. depends on RAW_DRIVER
  416. range 1 65536
  417. default "256"
  418. help
  419. The maximum number of RAW devices that are supported.
  420. Default is 256. Increase this number in case you need lots of
  421. raw devices.
  422. config HPET
  423. bool "HPET - High Precision Event Timer" if (X86 || IA64)
  424. default n
  425. depends on ACPI
  426. help
  427. If you say Y here, you will have a miscdevice named "/dev/hpet/". Each
  428. open selects one of the timers supported by the HPET. The timers are
  429. non-periodic and/or periodic.
  430. config HPET_MMAP
  431. bool "Allow mmap of HPET"
  432. default y
  433. depends on HPET
  434. help
  435. If you say Y here, user applications will be able to mmap
  436. the HPET registers.
  437. config HPET_MMAP_DEFAULT
  438. bool "Enable HPET MMAP access by default"
  439. default y
  440. depends on HPET_MMAP
  441. help
  442. In some hardware implementations, the page containing HPET
  443. registers may also contain other things that shouldn't be
  444. exposed to the user. This option selects the default (if
  445. kernel parameter hpet_mmap is not set) user access to the
  446. registers for applications that require it.
  447. config HANGCHECK_TIMER
  448. tristate "Hangcheck timer"
  449. depends on X86 || IA64 || PPC64 || S390
  450. help
  451. The hangcheck-timer module detects when the system has gone
  452. out to lunch past a certain margin. It can reboot the system
  453. or merely print a warning.
  454. config MMTIMER
  455. tristate "MMTIMER Memory mapped RTC for SGI Altix"
  456. depends on IA64_GENERIC || IA64_SGI_SN2
  457. default y
  458. help
  459. The mmtimer device allows direct userspace access to the
  460. Altix system timer.
  461. config UV_MMTIMER
  462. tristate "UV_MMTIMER Memory mapped RTC for SGI UV"
  463. depends on X86_UV
  464. default m
  465. help
  466. The uv_mmtimer device allows direct userspace access to the
  467. UV system timer.
  468. source "drivers/char/tpm/Kconfig"
  469. config TELCLOCK
  470. tristate "Telecom clock driver for ATCA SBC"
  471. depends on X86
  472. default n
  473. help
  474. The telecom clock device is specific to the MPCBL0010 and MPCBL0050
  475. ATCA computers and allows direct userspace access to the
  476. configuration of the telecom clock configuration settings. This
  477. device is used for hardware synchronization across the ATCA backplane
  478. fabric. Upon loading, the driver exports a sysfs directory,
  479. /sys/devices/platform/telco_clock, with a number of files for
  480. controlling the behavior of this hardware.
  481. config DEVPORT
  482. bool "/dev/port character device"
  483. depends on ISA || PCI
  484. default y
  485. help
  486. Say Y here if you want to support the /dev/port device. The /dev/port
  487. device is similar to /dev/mem, but for I/O ports.
  488. source "drivers/s390/char/Kconfig"
  489. config TILE_SROM
  490. bool "Character-device access via hypervisor to the Tilera SPI ROM"
  491. depends on TILE
  492. default y
  493. ---help---
  494. This device provides character-level read-write access
  495. to the SROM, typically via the "0", "1", and "2" devices
  496. in /dev/srom/. The Tilera hypervisor makes the flash
  497. device appear much like a simple EEPROM, and knows
  498. how to partition a single ROM for multiple purposes.
  499. source "drivers/char/xillybus/Kconfig"
  500. endmenu