summaryrefslogtreecommitdiffstats
path: root/drivers/parport/Config.in
blob: 16a7099c79031c578721376b4e9d170b9390d6e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#
# For a description of the syntax of this configuration file,
# see the Configure script.
#
# Parport configuration.
#

tristate 'Parallel port support' CONFIG_PARPORT
if [ "$CONFIG_PARPORT" != "n" ]; then
  dep_tristate '   PC-style hardware' CONFIG_PARPORT_PC $CONFIG_PARPORT
  if [ "$CONFIG_PARPORT_PC" != "n" ]; then
    bool '   Use FIFO/DMA if available' CONFIG_PARPORT_PC_FIFO
  fi
  if [ "$CONFIG_PARPORT_PC" = "y" ]; then
    # Don't bother with this if parport_pc is a module; it only affects
    # the presence or not of some __init's, which are no-ops for modules.
    bool '   Support for PCMCIA management for PC-style ports' CONFIG_PARPORT_PC_PCMCIA
  fi
  if [ "$CONFIG_ARM" = "y" ]; then
    dep_tristate '   Archimedes hardware' CONFIG_PARPORT_ARC $CONFIG_PARPORT
  fi
  if [ "$CONFIG_AMIGA" = "y" ]; then
    dep_tristate '   Amiga builtin port' CONFIG_PARPORT_AMIGA $CONFIG_PARPORT
    if [ "$CONFIG_ZORRO" != "n" ]; then
      dep_tristate '   Multiface III parallel port' CONFIG_PARPORT_MFC3 $CONFIG_PARPORT
    fi
  else
    define_bool CONFIG_PARPORT_AMIGA n
    define_bool CONFIG_PARPORT_MFC3 n
  fi
  if [ "$CONFIG_ATARI" = "y" ]; then
    dep_tristate '   Atari hardware' CONFIG_PARPORT_ATARI $CONFIG_PARPORT
  else
    define_bool CONFIG_PARPORT_ATARI n
  fi
  if [ "$CONFIG_SBUS" = "y" ]; then
    dep_tristate '   Sparc hardware (EXPERIMENTAL)' CONFIG_PARPORT_SUNBPP $CONFIG_PARPORT
  else
    define_bool CONFIG_PARPORT_SUNBPP n
  fi

  # If exactly one hardware type is selected then parport will optimise away
  # support for loading any others.  Defeat this if the user is keen.
  bool '   Support foreign hardware' CONFIG_PARPORT_OTHER

  bool '   IEEE 1284 transfer modes' CONFIG_PARPORT_1284
fi