summaryrefslogtreecommitdiffstats
path: root/arch/parisc/Kconfig
diff options
context:
space:
mode:
authorviro@ZenIV.linux.org.uk2005-09-06 02:48:42 +0200
committerLinus Torvalds2005-09-08 02:17:12 +0200
commita08b6b7968e7a6afc75e365ac31830867275abdc (patch)
tree4c8bc7006f09eb01950cbf0d6854128cc969a486 /arch/parisc/Kconfig
parent[PATCH] s2io u64 use for uintptr_t (diff)
downloadkernel-qcow2-linux-a08b6b7968e7a6afc75e365ac31830867275abdc.tar.gz
kernel-qcow2-linux-a08b6b7968e7a6afc75e365ac31830867275abdc.tar.xz
kernel-qcow2-linux-a08b6b7968e7a6afc75e365ac31830867275abdc.zip
[PATCH] Kconfig fix (BLK_DEV_FD dependencies)
Sanitized and fixed floppy dependencies: split the messy dependencies for BLK_DEV_FD by introducing a new symbol (ARCH_MAY_HAVE_PC_FDC), making BLK_DEV_FD depend on that one and taking declarations of ARCH_MAY_HAVE_PC_FDC to arch/*/Kconfig. While we are at it, fixed several obvious cases when BLK_DEV_FD should have been excluded (architectures lacking asm/floppy.h are *not* going to have floppy.c compile, let alone work). If you can come up with better name for that ("this architecture might have working PC-compatible floppy disk controller"), you are more than welcome - just s/ARCH_MAY_HAVE_PC_FDC/your_prefered_name/g in the patch below... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/parisc/Kconfig')
-rw-r--r--arch/parisc/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/parisc/Kconfig b/arch/parisc/Kconfig
index 1c2d87435233..0b07922a2ac6 100644
--- a/arch/parisc/Kconfig
+++ b/arch/parisc/Kconfig
@@ -49,6 +49,10 @@ config ISA_DMA_API
bool
default y
+config ARCH_MAY_HAVE_PC_FDC
+ bool
+ default y
+
source "init/Kconfig"