Kconfig 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # For a description of the syntax of this configuration file,
  4. # see Documentation/kbuild/kconfig-language.rst.
  5. #
  6. # Parport configuration.
  7. #
  8. config ARCH_MIGHT_HAVE_PC_PARPORT
  9. bool
  10. help
  11. Select this config option from the architecture Kconfig if
  12. the architecture might have PC parallel port hardware.
  13. menuconfig PARPORT
  14. tristate "Parallel port support"
  15. depends on HAS_IOMEM
  16. ---help---
  17. If you want to use devices connected to your machine's parallel port
  18. (the connector at the computer with 25 holes), e.g. printer, ZIP
  19. drive, PLIP link (Parallel Line Internet Protocol is mainly used to
  20. create a mini network by connecting the parallel ports of two local
  21. machines) etc., then you need to say Y here; please read
  22. <file:Documentation/admin-guide/parport.rst> and
  23. <file:drivers/parport/BUGS-parport>.
  24. For extensive information about drivers for many devices attaching
  25. to the parallel port see <http://www.torque.net/linux-pp.html> on
  26. the WWW.
  27. It is possible to share a single parallel port among several devices
  28. and it is safe to compile all the corresponding drivers into the
  29. kernel. To compile parallel port support as a module, choose M here:
  30. the module will be called parport.
  31. If you have more than one parallel port and want to specify which
  32. port and IRQ to be used by this driver at module load time, take a
  33. look at <file:Documentation/admin-guide/parport.rst>.
  34. If unsure, say Y.
  35. if PARPORT
  36. config PARPORT_PC
  37. tristate "PC-style hardware"
  38. depends on ARCH_MIGHT_HAVE_PC_PARPORT
  39. help
  40. You should say Y here if you have a PC-style parallel port. All
  41. IBM PC compatible computers and some Alphas have PC-style
  42. parallel ports. PA-RISC owners should only say Y here if they
  43. have a SuperIO parallel port.
  44. To compile this driver as a module, choose M here: the
  45. module will be called parport_pc.
  46. If unsure, say Y.
  47. config PARPORT_SERIAL
  48. tristate "Multi-IO cards (parallel and serial)"
  49. depends on SERIAL_8250_PCI && PARPORT_PC && PCI
  50. help
  51. This adds support for multi-IO PCI cards that have parallel and
  52. serial ports. You should say Y or M here. If you say M, the module
  53. will be called parport_serial.
  54. config PARPORT_PC_FIFO
  55. bool "Use FIFO/DMA if available"
  56. depends on PARPORT_PC
  57. help
  58. Many parallel port chipsets provide hardware that can speed up
  59. printing. Say Y here if you want to take advantage of that.
  60. As well as actually having a FIFO, or DMA capability, the kernel
  61. will need to know which IRQ the parallel port has. By default,
  62. parallel port interrupts will not be used, and so neither will the
  63. FIFO. See <file:Documentation/admin-guide/parport.rst> to find out how to
  64. specify which IRQ/DMA to use.
  65. config PARPORT_PC_SUPERIO
  66. bool "SuperIO chipset support"
  67. depends on PARPORT_PC && !PARISC
  68. help
  69. Saying Y here enables some probes for Super-IO chipsets in order to
  70. find out things like base addresses, IRQ lines and DMA channels. It
  71. is safe to say N.
  72. config PARPORT_PC_PCMCIA
  73. tristate "Support for PCMCIA management for PC-style ports"
  74. depends on PCMCIA && PARPORT_PC
  75. help
  76. Say Y here if you need PCMCIA support for your PC-style parallel
  77. ports. If unsure, say N.
  78. config PARPORT_IP32
  79. tristate "SGI IP32 builtin port"
  80. depends on SGI_IP32
  81. select PARPORT_NOT_PC
  82. help
  83. Say Y here if you need support for the parallel port on
  84. SGI O2 machines. This code is also available as a module (say M),
  85. called parport_ip32. If in doubt, saying N is the safe plan.
  86. config PARPORT_AMIGA
  87. tristate "Amiga builtin port"
  88. depends on AMIGA
  89. select PARPORT_NOT_PC
  90. help
  91. Say Y here if you need support for the parallel port hardware on
  92. Amiga machines. This code is also available as a module (say M),
  93. called parport_amiga. If in doubt, saying N is the safe plan.
  94. config PARPORT_MFC3
  95. tristate "Multiface III parallel port"
  96. depends on ZORRO
  97. select PARPORT_NOT_PC
  98. help
  99. Say Y here if you need parallel port support for the MFC3 card.
  100. This code is also available as a module (say M), called
  101. parport_mfc3. If in doubt, saying N is the safe plan.
  102. config PARPORT_ATARI
  103. tristate "Atari hardware"
  104. depends on ATARI
  105. select PARPORT_NOT_PC
  106. help
  107. Say Y here if you need support for the parallel port hardware on
  108. Atari machines. This code is also available as a module (say M),
  109. called parport_atari. If in doubt, saying N is the safe plan.
  110. config PARPORT_GSC
  111. tristate
  112. default GSC
  113. select PARPORT_NOT_PC
  114. config PARPORT_SUNBPP
  115. tristate "Sparc hardware"
  116. depends on SBUS
  117. select PARPORT_NOT_PC
  118. help
  119. This driver provides support for the bidirectional parallel port
  120. found on many Sun machines. Note that many of the newer Ultras
  121. actually have pc style hardware instead.
  122. config PARPORT_AX88796
  123. tristate "AX88796 Parallel Port"
  124. select PARPORT_NOT_PC
  125. help
  126. Say Y here if you need support for the parallel port hardware on
  127. the AX88796 network controller chip. This code is also available
  128. as a module (say M), called parport_ax88796.
  129. The driver is not dependent on the AX88796 network driver, and
  130. should not interfere with the networking functions of the chip.
  131. config PARPORT_1284
  132. bool "IEEE 1284 transfer modes"
  133. help
  134. If you have a printer that supports status readback or device ID, or
  135. want to use a device that uses enhanced parallel port transfer modes
  136. such as EPP and ECP, say Y here to enable advanced IEEE 1284
  137. transfer modes. Also say Y if you want device ID information to
  138. appear in /proc/sys/dev/parport/*/autoprobe*. It is safe to say N.
  139. config PARPORT_NOT_PC
  140. bool
  141. endif # PARPORT