[PATCH] parport: Kconfig dependency fixes

Make drivers that use directly PC parport HW depend on PARPORT_PC rather than
HW independent PARPORT.

Signed-off-by: Marko Kohtala <marko.kohtala@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
Marko Kohtala
2006-01-06 00:19:49 -08:00
committed by Linus Torvalds
parent 110bee75d2
commit 6a19b41b35
3 changed files with 8 additions and 7 deletions
+3 -2
View File
@@ -4,11 +4,12 @@
# PARIDE doesn't need PARPORT, but if PARPORT is configured as a module,
# PARIDE must also be a module. The bogus CONFIG_PARIDE_PARPORT option
# controls the choices given to the user ...
# PARIDE only supports PC style parports. Tough for USB or other parports...
config PARIDE_PARPORT
tristate
depends on PARIDE!=n
default m if PARPORT=m
default y if PARPORT!=m
default m if PARPORT_PC=m
default y if PARPORT_PC!=m
comment "Parallel IDE high-level drivers"
depends on PARIDE