Messages in this thread Patch in this message | | | Date | Mon, 7 Oct 2002 13:42:30 +0200 (CEST) | From | Adrian Bunk <> | Subject | [patch] simplify the Config.in for CONFIG_PARPORT_PC_PCMCIA |
| |
Hi,
the current Config.in code for CONFIG_PARPORT_PC_PCMCIA in both 2.4.20-pre9 and 2.5.40 has the disadvantage that "make xconfig" shows two entries for this option (it's harmless since at most one of them is selectable at any time). The patch below fixes this. It does an semantically equivalent transformation with the positive side effect that it's now more simple.
--- linux/drivers/parport/Config.in.old 2002-10-07 13:21:26.000000000 +0200 +++ linux/drivers/parport/Config.in 2002-10-07 13:35:31.000000000 +0200 @@ -24,13 +24,7 @@ bool ' Use FIFO/DMA if available (EXPERIMENTAL)' CONFIG_PARPORT_PC_FIFO bool ' SuperIO chipset support (EXPERIMENTAL)' CONFIG_PARPORT_PC_SUPERIO fi - if [ "$CONFIG_HOTPLUG" = "y" -a "$CONFIG_PCMCIA" != "n" ]; then - if [ "$CONFIG_PARPORT_PC" = "y" ]; then - dep_tristate ' Support for PCMCIA management for PC-style ports' CONFIG_PARPORT_PC_PCMCIA $CONFIG_PCMCIA - else - dep_tristate ' Support for PCMCIA management for PC-style ports' CONFIG_PARPORT_PC_PCMCIA $CONFIG_PARPORT_PC - fi - fi + dep_tristate ' Support for PCMCIA management for PC-style ports' CONFIG_PARPORT_PC_PCMCIA $CONFIG_HOTPLUG $CONFIG_PCMCIA $CONFIG_PARPORT_PC fi if [ "$CONFIG_ARM" = "y" ]; then dep_tristate ' Archimedes hardware' CONFIG_PARPORT_ARC $CONFIG_PARPORT Please apply Adrian
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |