summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-09 10:21:34 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2008-04-09 10:21:34 +1000
commitbf52ababa2a09ad59331cccf54af4dfb0119de75 (patch)
tree6f94badab6578b1f660633217eb3114ce680496b
parent726763f4c69caf7df5faf3bb693d16bfc9305847 (diff)
ide: make 32-bit I/O support for IDE VLB available only when it makes sense
IDE VLB host drivers depend on ISA && (ALPHA || X86 || MIPS) so only then it makes sense to support "VLB sync" (controlled by SUPPORT_VLB_SYNC define). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
-rw-r--r--include/linux/ide.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index cad26bb32dbb..95896b0c0a0a 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -26,10 +26,11 @@
#include <asm/semaphore.h>
#include <asm/mutex.h>
-#if defined(CONFIG_CRIS) || defined(CONFIG_FRV)
-# define SUPPORT_VLB_SYNC 0
-#else
+#if defined(CONFIG_ISA) && \
+ (defined(CONFIG_ALPHA) || defined(CONFIG_X86) || defined(CONFIG_MIPS))
# define SUPPORT_VLB_SYNC 1
+#else
+# define SUPPORT_VLB_SYNC 0
#endif
/*