Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # For a description of the syntax of this configuration file, |
| 3 | # see Documentation/kbuild/kconfig-language.txt. |
| 4 | # |
| 5 | # Parport configuration. |
| 6 | # |
| 7 | |
Randy Dunlap | edffe1b | 2014-07-25 17:07:47 -0700 | [diff] [blame] | 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 | |
Jan Engelhardt | 9f5096c | 2007-07-15 23:39:37 -0700 | [diff] [blame] | 14 | menuconfig PARPORT |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | tristate "Parallel port support" |
Jan Engelhardt | 9f5096c | 2007-07-15 23:39:37 -0700 | [diff] [blame] | 16 | depends on HAS_IOMEM |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | ---help--- |
| 18 | If you want to use devices connected to your machine's parallel port |
| 19 | (the connector at the computer with 25 holes), e.g. printer, ZIP |
| 20 | drive, PLIP link (Parallel Line Internet Protocol is mainly used to |
| 21 | create a mini network by connecting the parallel ports of two local |
| 22 | machines) etc., then you need to say Y here; please read |
Mauro Carvalho Chehab | 5fb94e9 | 2018-05-08 15:14:57 -0300 | [diff] [blame] | 23 | <file:Documentation/admin-guide/parport.rst> and |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 24 | <file:drivers/parport/BUGS-parport>. |
| 25 | |
| 26 | For extensive information about drivers for many devices attaching |
| 27 | to the parallel port see <http://www.torque.net/linux-pp.html> on |
| 28 | the WWW. |
| 29 | |
| 30 | It is possible to share a single parallel port among several devices |
| 31 | and it is safe to compile all the corresponding drivers into the |
| 32 | kernel. To compile parallel port support as a module, choose M here: |
| 33 | the module will be called parport. |
| 34 | If you have more than one parallel port and want to specify which |
| 35 | port and IRQ to be used by this driver at module load time, take a |
Mauro Carvalho Chehab | 5fb94e9 | 2018-05-08 15:14:57 -0300 | [diff] [blame] | 36 | look at <file:Documentation/admin-guide/parport.rst>. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 37 | |
| 38 | If unsure, say Y. |
| 39 | |
Jan Engelhardt | 9f5096c | 2007-07-15 23:39:37 -0700 | [diff] [blame] | 40 | if PARPORT |
| 41 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 42 | config PARPORT_PC |
| 43 | tristate "PC-style hardware" |
Mark Salter | d90c3eb | 2013-10-07 22:21:18 -0400 | [diff] [blame] | 44 | depends on ARCH_MIGHT_HAVE_PC_PARPORT |
Linus Torvalds | f13399f | 2013-11-15 14:05:15 -0800 | [diff] [blame] | 45 | help |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 46 | You should say Y here if you have a PC-style parallel port. All |
| 47 | IBM PC compatible computers and some Alphas have PC-style |
| 48 | parallel ports. PA-RISC owners should only say Y here if they |
| 49 | have a SuperIO parallel port. |
| 50 | |
| 51 | To compile this driver as a module, choose M here: the |
| 52 | module will be called parport_pc. |
| 53 | |
| 54 | If unsure, say Y. |
| 55 | |
| 56 | config PARPORT_SERIAL |
| 57 | tristate "Multi-IO cards (parallel and serial)" |
Russell King | 14228a4 | 2006-06-18 13:00:48 +0100 | [diff] [blame] | 58 | depends on SERIAL_8250_PCI && PARPORT_PC && PCI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 59 | help |
| 60 | This adds support for multi-IO PCI cards that have parallel and |
| 61 | serial ports. You should say Y or M here. If you say M, the module |
| 62 | will be called parport_serial. |
| 63 | |
| 64 | config PARPORT_PC_FIFO |
Kees Cook | 6e8bd6e | 2012-11-05 15:04:23 -0800 | [diff] [blame] | 65 | bool "Use FIFO/DMA if available" |
| 66 | depends on PARPORT_PC |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 67 | help |
| 68 | Many parallel port chipsets provide hardware that can speed up |
| 69 | printing. Say Y here if you want to take advantage of that. |
| 70 | |
| 71 | As well as actually having a FIFO, or DMA capability, the kernel |
| 72 | will need to know which IRQ the parallel port has. By default, |
| 73 | parallel port interrupts will not be used, and so neither will the |
Mauro Carvalho Chehab | 5fb94e9 | 2018-05-08 15:14:57 -0300 | [diff] [blame] | 74 | FIFO. See <file:Documentation/admin-guide/parport.rst> to find out how to |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 75 | specify which IRQ/DMA to use. |
| 76 | |
| 77 | config PARPORT_PC_SUPERIO |
Kees Cook | 6e8bd6e | 2012-11-05 15:04:23 -0800 | [diff] [blame] | 78 | bool "SuperIO chipset support" |
Helge Deller | c218c71 | 2013-05-30 16:24:46 +0000 | [diff] [blame] | 79 | depends on PARPORT_PC && !PARISC |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 80 | help |
| 81 | Saying Y here enables some probes for Super-IO chipsets in order to |
| 82 | find out things like base addresses, IRQ lines and DMA channels. It |
| 83 | is safe to say N. |
| 84 | |
| 85 | config PARPORT_PC_PCMCIA |
| 86 | tristate "Support for PCMCIA management for PC-style ports" |
Adrian Bunk | a1b9168 | 2006-01-06 00:19:52 -0800 | [diff] [blame] | 87 | depends on PCMCIA && PARPORT_PC |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 88 | help |
| 89 | Say Y here if you need PCMCIA support for your PC-style parallel |
| 90 | ports. If unsure, say N. |
| 91 | |
Arnaud Giersch | 8e75f74 | 2006-02-03 03:04:16 -0800 | [diff] [blame] | 92 | config PARPORT_IP32 |
Kees Cook | 6e8bd6e | 2012-11-05 15:04:23 -0800 | [diff] [blame] | 93 | tristate "SGI IP32 builtin port" |
| 94 | depends on SGI_IP32 |
Arnaud Giersch | 8e75f74 | 2006-02-03 03:04:16 -0800 | [diff] [blame] | 95 | select PARPORT_NOT_PC |
| 96 | help |
| 97 | Say Y here if you need support for the parallel port on |
| 98 | SGI O2 machines. This code is also available as a module (say M), |
| 99 | called parport_ip32. If in doubt, saying N is the safe plan. |
| 100 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 101 | config PARPORT_AMIGA |
| 102 | tristate "Amiga builtin port" |
Jan Engelhardt | 9f5096c | 2007-07-15 23:39:37 -0700 | [diff] [blame] | 103 | depends on AMIGA |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 104 | select PARPORT_NOT_PC |
| 105 | help |
| 106 | Say Y here if you need support for the parallel port hardware on |
| 107 | Amiga machines. This code is also available as a module (say M), |
| 108 | called parport_amiga. If in doubt, saying N is the safe plan. |
| 109 | |
| 110 | config PARPORT_MFC3 |
| 111 | tristate "Multiface III parallel port" |
Jan Engelhardt | 9f5096c | 2007-07-15 23:39:37 -0700 | [diff] [blame] | 112 | depends on ZORRO |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 113 | select PARPORT_NOT_PC |
| 114 | help |
| 115 | Say Y here if you need parallel port support for the MFC3 card. |
| 116 | This code is also available as a module (say M), called |
| 117 | parport_mfc3. If in doubt, saying N is the safe plan. |
| 118 | |
| 119 | config PARPORT_ATARI |
| 120 | tristate "Atari hardware" |
Jan Engelhardt | 9f5096c | 2007-07-15 23:39:37 -0700 | [diff] [blame] | 121 | depends on ATARI |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 122 | select PARPORT_NOT_PC |
| 123 | help |
| 124 | Say Y here if you need support for the parallel port hardware on |
| 125 | Atari machines. This code is also available as a module (say M), |
| 126 | called parport_atari. If in doubt, saying N is the safe plan. |
| 127 | |
| 128 | config PARPORT_GSC |
| 129 | tristate |
| 130 | default GSC |
Guy Martin | 7c0b67e | 2006-01-10 20:47:59 -0500 | [diff] [blame] | 131 | select PARPORT_NOT_PC |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 132 | |
| 133 | config PARPORT_SUNBPP |
Kees Cook | 6e8bd6e | 2012-11-05 15:04:23 -0800 | [diff] [blame] | 134 | tristate "Sparc hardware" |
| 135 | depends on SBUS |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 136 | select PARPORT_NOT_PC |
| 137 | help |
| 138 | This driver provides support for the bidirectional parallel port |
| 139 | found on many Sun machines. Note that many of the newer Ultras |
| 140 | actually have pc style hardware instead. |
| 141 | |
Ben Dooks | ad4063b | 2006-06-25 05:48:03 -0700 | [diff] [blame] | 142 | config PARPORT_AX88796 |
| 143 | tristate "AX88796 Parallel Port" |
Ben Dooks | ad4063b | 2006-06-25 05:48:03 -0700 | [diff] [blame] | 144 | select PARPORT_NOT_PC |
| 145 | help |
| 146 | Say Y here if you need support for the parallel port hardware on |
| 147 | the AX88796 network controller chip. This code is also available |
| 148 | as a module (say M), called parport_ax88796. |
| 149 | |
Lucas De Marchi | 25985ed | 2011-03-30 22:57:33 -0300 | [diff] [blame] | 150 | The driver is not dependent on the AX88796 network driver, and |
Ben Dooks | ad4063b | 2006-06-25 05:48:03 -0700 | [diff] [blame] | 151 | should not interfere with the networking functions of the chip. |
| 152 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 153 | config PARPORT_1284 |
| 154 | bool "IEEE 1284 transfer modes" |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 155 | help |
| 156 | If you have a printer that supports status readback or device ID, or |
| 157 | want to use a device that uses enhanced parallel port transfer modes |
| 158 | such as EPP and ECP, say Y here to enable advanced IEEE 1284 |
| 159 | transfer modes. Also say Y if you want device ID information to |
| 160 | appear in /proc/sys/dev/parport/*/autoprobe*. It is safe to say N. |
| 161 | |
Don Mullis | bf4735a | 2006-12-10 02:18:37 -0800 | [diff] [blame] | 162 | config PARPORT_NOT_PC |
| 163 | bool |
| 164 | |
Jan Engelhardt | 9f5096c | 2007-07-15 23:39:37 -0700 | [diff] [blame] | 165 | endif # PARPORT |