Kconfig 20 KB

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