import of upstream 2.4.34.4 from kernel.org
[linux-2.4.git] / drivers / parport / Config.in
1 #
2 # For a description of the syntax of this configuration file,
3 # see Documentation/kbuild/config-language.txt.
4 #
5 # Parport configuration.
6 #
7
8 mainmenu_option next_comment
9 comment 'Parallel port support'
10
11 tristate 'Parallel port support' CONFIG_PARPORT
12 if [ "$CONFIG_PARPORT" != "n" ]; then
13    dep_tristate '  PC-style hardware' CONFIG_PARPORT_PC $CONFIG_PARPORT
14    if [ "$CONFIG_PARPORT_PC" != "n" -a "$CONFIG_SERIAL" != "n" ]; then
15       if [ "$CONFIG_SERIAL" = "m" ]; then
16          define_tristate CONFIG_PARPORT_PC_CML1 m
17       else
18          define_tristate CONFIG_PARPORT_PC_CML1 $CONFIG_PARPORT_PC
19       fi
20       dep_tristate '    Multi-IO cards (parallel and serial)' CONFIG_PARPORT_SERIAL $CONFIG_PARPORT_PC_CML1
21    fi
22    if [ "$CONFIG_PARPORT_PC" != "n" ]; then
23       if [ "$CONFIG_EXPERIMENTAL" = "y" ]; then
24          bool '    Use FIFO/DMA if available (EXPERIMENTAL)' CONFIG_PARPORT_PC_FIFO
25          bool '    SuperIO chipset support (EXPERIMENTAL)' CONFIG_PARPORT_PC_SUPERIO
26       fi
27       dep_tristate '    Support for PCMCIA management for PC-style ports' CONFIG_PARPORT_PC_PCMCIA $CONFIG_PCMCIA $CONFIG_PARPORT_PC $CONFIG_HOTPLUG
28    fi
29    if [ "$CONFIG_ARM" = "y" ]; then
30       dep_tristate '  Archimedes hardware' CONFIG_PARPORT_ARC $CONFIG_PARPORT
31    fi
32    if [ "$CONFIG_AMIGA" = "y" ]; then
33       dep_tristate '  Amiga builtin port' CONFIG_PARPORT_AMIGA $CONFIG_PARPORT
34       if [ "$CONFIG_ZORRO" != "n" ]; then
35          dep_tristate '  Multiface III parallel port' CONFIG_PARPORT_MFC3 $CONFIG_PARPORT
36       fi
37    else
38       define_tristate CONFIG_PARPORT_AMIGA n
39       define_tristate CONFIG_PARPORT_MFC3 n
40    fi
41    if [ "$CONFIG_ATARI" = "y" ]; then
42       dep_tristate '  Atari hardware' CONFIG_PARPORT_ATARI $CONFIG_PARPORT
43    else
44       define_tristate CONFIG_PARPORT_ATARI n
45    fi
46    if [ "$CONFIG_GSC_LASI" = "y" ]; then
47       dep_tristate '  LASI/ASP builtin parallel-port' CONFIG_PARPORT_GSC $CONFIG_PARPORT
48    else
49       define_tristate CONFIG_PARPORT_GSC n
50    fi
51
52    if [ "$CONFIG_SBUS" = "y" -a "$CONFIG_EXPERIMENTAL" = "y" ]; then
53       dep_tristate '  Sparc hardware (EXPERIMENTAL)' CONFIG_PARPORT_SUNBPP $CONFIG_PARPORT
54    else
55       define_tristate CONFIG_PARPORT_SUNBPP n
56    fi
57
58    if [ "$CONFIG_SGI_IP22" = "y" -a "$CONFIG_EXPERIMENTAL" = "y" ]; then
59       dep_tristate '  SGI Indy/Indigo2 hardware (EXPERIMENTAL)' CONFIG_PARPORT_IP22 $CONFIG_PARPORT
60    else
61       define_tristate CONFIG_PARPORT_IP22 n
62    fi
63
64    # If exactly one hardware type is selected then parport will optimise away
65    # support for loading any others.  Defeat this if the user is keen.
66    bool '  Support foreign hardware' CONFIG_PARPORT_OTHER
67
68    bool '  IEEE 1284 transfer modes' CONFIG_PARPORT_1284
69 fi
70
71 endmenu