Kconfig 21 KB

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