patch-2.3.40 linux/drivers/parport/Config.in

Next file: linux/drivers/parport/ieee1284_ops.c
Previous file: linux/drivers/net/wan/z85230.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.39/linux/drivers/parport/Config.in linux/drivers/parport/Config.in
@@ -14,7 +14,7 @@
    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
+      if [ "$CONFIG_HOTPLUG" = "y" -a "$CONFIG_PCMCIA" != "n" ]; then
 	 bool '    Support for PCMCIA management for PC-style ports' CONFIG_PARPORT_PC_PCMCIA
       fi
    fi

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)