[PATCH] Kconfig fix (BLK_DEV_FD dependencies)
authorviro@ZenIV.linux.org.uk <viro@ZenIV.linux.org.uk>
Tue, 6 Sep 2005 00:48:42 +0000 (01:48 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 8 Sep 2005 00:17:12 +0000 (17:17 -0700)
commita08b6b7968e7a6afc75e365ac31830867275abdc
tree4c8bc7006f09eb01950cbf0d6854128cc969a486
parent8ae418cf85b92cae7bce3d810b6aaf354e77be84
[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>
15 files changed:
arch/alpha/Kconfig
arch/arm/Kconfig
arch/arm/mach-footbridge/Kconfig
arch/arm26/Kconfig
arch/i386/Kconfig
arch/m68k/Kconfig
arch/mips/Kconfig
arch/parisc/Kconfig
arch/ppc/Kconfig
arch/ppc64/Kconfig
arch/sh/Kconfig
arch/sparc/Kconfig
arch/sparc64/Kconfig
arch/x86_64/Kconfig
drivers/block/Kconfig