Kconfig 21 KB

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