diff options
Diffstat (limited to 'drivers/parport/Config.in')
-rw-r--r-- | drivers/parport/Config.in | 72 |
1 files changed, 37 insertions, 35 deletions
diff --git a/drivers/parport/Config.in b/drivers/parport/Config.in index 16a7099c7..812cc1a4c 100644 --- a/drivers/parport/Config.in +++ b/drivers/parport/Config.in @@ -7,41 +7,43 @@ 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 + 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. + if [ "$CONFIG_PCMCIA" != "n" ]; then + bool ' Support for PCMCIA management for PC-style ports' CONFIG_PARPORT_PC_PCMCIA + fi + 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 + # 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 + bool ' IEEE 1284 transfer modes' CONFIG_PARPORT_1284 fi |