Kconfig 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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 || PCI
  39. depends on HAS_IOPORT
  40. help
  41. You should say Y here if you have a PC-style parallel port. All
  42. IBM PC compatible computers and some Alphas have PC-style
  43. parallel ports. PA-RISC owners should only say Y here if they
  44. have a SuperIO parallel port.
  45. To compile this driver as a module, choose M here: the
  46. module will be called parport_pc.
  47. If unsure, say Y.
  48. config PARPORT_SERIAL
  49. tristate "Multi-IO cards (parallel and serial)"
  50. depends on SERIAL_8250_PCI && PARPORT_PC && PCI
  51. help
  52. This adds support for multi-IO PCI cards that have parallel and
  53. serial ports. You should say Y or M here. If you say M, the module
  54. will be called parport_serial.
  55. config PARPORT_PC_FIFO
  56. bool "Use FIFO/DMA if available"
  57. depends on PARPORT_PC
  58. help
  59. Many parallel port chipsets provide hardware that can speed up
  60. printing. Say Y here if you want to take advantage of that.
  61. As well as actually having a FIFO, or DMA capability, the kernel
  62. will need to know which IRQ the parallel port has. By default,
  63. parallel port interrupts will not be used, and so neither will the
  64. FIFO. See <file:Documentation/admin-guide/parport.rst> to find out how to
  65. specify which IRQ/DMA to use.
  66. config PARPORT_PC_SUPERIO
  67. bool "SuperIO chipset support"
  68. depends on ARCH_MIGHT_HAVE_PC_PARPORT && PARPORT_PC && !PARISC
  69. help
  70. Saying Y here enables some probes for Super-IO chipsets in order to
  71. find out things like base addresses, IRQ lines and DMA channels. It
  72. is safe to say N.
  73. config PARPORT_PC_PCMCIA
  74. tristate "Support for PCMCIA management for PC-style ports"
  75. depends on PCMCIA && PARPORT_PC
  76. help
  77. Say Y here if you need PCMCIA support for your PC-style parallel
  78. ports. If unsure, say N.
  79. config PARPORT_IP32
  80. tristate "SGI IP32 builtin port"
  81. depends on SGI_IP32
  82. select PARPORT_NOT_PC
  83. help
  84. Say Y here if you need support for the parallel port on
  85. SGI O2 machines. This code is also available as a module (say M),
  86. called parport_ip32. If in doubt, saying N is the safe plan.
  87. config PARPORT_AMIGA
  88. tristate "Amiga builtin port"
  89. depends on AMIGA
  90. select PARPORT_NOT_PC
  91. help
  92. Say Y here if you need support for the parallel port hardware on
  93. Amiga machines. This code is also available as a module (say M),
  94. called parport_amiga. If in doubt, saying N is the safe plan.
  95. config PARPORT_MFC3
  96. tristate "Multiface III parallel port"
  97. depends on ZORRO
  98. select PARPORT_NOT_PC
  99. help
  100. Say Y here if you need parallel port support for the MFC3 card.
  101. This code is also available as a module (say M), called
  102. parport_mfc3. If in doubt, saying N is the safe plan.
  103. config PARPORT_ATARI
  104. tristate "Atari hardware"
  105. depends on ATARI
  106. select PARPORT_NOT_PC
  107. help
  108. Say Y here if you need support for the parallel port hardware on
  109. Atari machines. This code is also available as a module (say M),
  110. called parport_atari. If in doubt, saying N is the safe plan.
  111. config PARPORT_GSC
  112. tristate
  113. default GSC
  114. select PARPORT_NOT_PC
  115. config PARPORT_SUNBPP
  116. tristate "Sparc hardware"
  117. depends on SBUS
  118. select PARPORT_NOT_PC
  119. help
  120. This driver provides support for the bidirectional parallel port
  121. found on many Sun machines. Note that many of the newer Ultras
  122. actually have pc style hardware instead.
  123. config PARPORT_1284
  124. bool "IEEE 1284 transfer modes"
  125. help
  126. If you have a printer that supports status readback or device ID, or
  127. want to use a device that uses enhanced parallel port transfer modes
  128. such as EPP and ECP, say Y here to enable advanced IEEE 1284
  129. transfer modes. Also say Y if you want device ID information to
  130. appear in /proc/sys/dev/parport/*/autoprobe*. It is safe to say N.
  131. config PARPORT_NOT_PC
  132. bool
  133. endif # PARPORT