2004-01-12 02:29:21

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] simplify PARPORT_PC_PCMCIA dependencies

Hi David,

after looking at the 2.4 PARPORT_PC_PCMCIA dependencies, it seems the
intention for 2.6 are what my patch below does.

Is this patch correct, or did I miss some trick in the dependencies?

cu
Adrian

--- linux-2.6.1-mm2/drivers/parport/Kconfig.old 2004-01-12 03:11:33.000000000 +0100
+++ linux-2.6.1-mm2/drivers/parport/Kconfig 2004-01-12 03:17:26.000000000 +0100
@@ -83,7 +83,7 @@

config PARPORT_PC_PCMCIA
tristate "Support for PCMCIA management for PC-style ports"
- depends on PARPORT!=n && HOTPLUG && (PCMCIA!=n && PARPORT_PC=m && PARPORT_PC || PARPORT_PC=y && PCMCIA)
+ depends on HOTPLUG && PCMCIA && PARPORT_PC
help
Say Y here if you need PCMCIA support for your PC-style parallel
ports. If unsure, say N.