Kconfig 21 KB

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