Ups, just noticed that my last patch wasn't correct: dep_tristate ignores
dependencies with an empty value ($%&#$!) and since there are
architectures that do define neither CONFIG_HOTPLUG nor CONFIG_PCMCIA the
following is the correct patch:
--- drivers/parport/Config.in.old Mon Aug 5 10:32:28 2002
+++ drivers/parport/Config.in Mon Aug 5 10:40:03 2002
@@ -24,12 +24,8 @@
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
+ if [ "$CONFIG_HOTPLUG" = "y" ]; then
+ dep_tristate ' Support for PCMCIA management for PC-style ports' CONFIG_PARPORT_PC_PCMCIA $CONFIG_PCMCIA $CONFIG_PARPORT_PC
fi
fi
if [ "$CONFIG_ARM" = "y" ]; then
cu
Adrian
--You only think this is a free country. Like the US the UK spends a lot of time explaining its a free country because its a police state. Alan Cox
-- To unsubscribe, send mail to: linux-parport-request@torque.net -- -- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2b29 : Tue Oct 08 2002 - 08:59:59 EDT