Kconfig 21 KB

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