[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>
Showing
- arch/alpha/Kconfig 3 additions, 0 deletionsarch/alpha/Kconfig
- arch/arm/Kconfig 4 additions, 0 deletionsarch/arm/Kconfig
- arch/arm/mach-footbridge/Kconfig 1 addition, 0 deletionsarch/arm/mach-footbridge/Kconfig
- arch/arm26/Kconfig 4 additions, 0 deletionsarch/arm26/Kconfig
- arch/i386/Kconfig 4 additions, 0 deletionsarch/i386/Kconfig
- arch/m68k/Kconfig 5 additions, 0 deletionsarch/m68k/Kconfig
- arch/mips/Kconfig 5 additions, 0 deletionsarch/mips/Kconfig
- arch/parisc/Kconfig 4 additions, 0 deletionsarch/parisc/Kconfig
- arch/ppc/Kconfig 4 additions, 0 deletionsarch/ppc/Kconfig
- arch/ppc64/Kconfig 4 additions, 0 deletionsarch/ppc64/Kconfig
- arch/sh/Kconfig 4 additions, 0 deletionsarch/sh/Kconfig
- arch/sparc/Kconfig 4 additions, 0 deletionsarch/sparc/Kconfig
- arch/sparc64/Kconfig 4 additions, 0 deletionsarch/sparc64/Kconfig
- arch/x86_64/Kconfig 4 additions, 0 deletionsarch/x86_64/Kconfig
- drivers/block/Kconfig 1 addition, 1 deletiondrivers/block/Kconfig
Loading
Please register or sign in to comment