[patch] [Kconfig] disable CONFIG_FD on ia64, which has no floppy drive

From: Martin Pool (mbp@samba.org)
Date: Wed Aug 06 2003 - 02:04:06 EST


As of linux-2.6.0-test2-ia64-030729, there is no asm-ia64/floppy.h,
and so the fd driver won't work. Other architectures have various
legacy floppy controllers, but ia64 does not have one and is never
likely to.

David Mosberger says:

> The Merced machines came with SuperDrives (or whatever they
> were called), but those attached to the IDE controller, not the floppy
> controller. The classic (AT-style) floppy controller is an ISA device
> and since ia64 doesn't support ISA, such controllers never were
> supported.

There is no reason to ever have CONFIG_FD on ia64, but if it does get
turned on then the build will fail. Therefore, I suggest this patch
to keep it off:

--- linux-2.6.0test2-ia64/drivers/block/Kconfig.~1~ 2003-07-29 12:07:02.000000000 +1000
+++ linux-2.6.0test2-ia64/drivers/block/Kconfig 2003-08-06 15:55:16.000000000 +1000
@@ -6,7 +6,7 @@ menu "Block devices"

 config BLK_DEV_FD
        tristate "Normal floppy disk support"
- depends on !X86_PC9800
+ depends on !X86_PC9800 && !IA64
        ---help---
          If you want to use the floppy disk drive(s) of your PC under Linux,
          say Y. Information about this driver, especially important for IBM

-- 
Martin 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 07 2003 - 22:00:32 EST