* [PATCH 3/5] ide: make 32-bit I/O support for IDE VLB available only when it makes sense
@ 2008-03-30 15:12 Bartlomiej Zolnierkiewicz
0 siblings, 0 replies; only message in thread
From: Bartlomiej Zolnierkiewicz @ 2008-03-30 15:12 UTC (permalink / raw)
To: linux-ide; +Cc: linux-kernel
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>
---
include/linux/ide.h | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
Index: b/include/linux/ide.h
===================================================================
--- 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
/*
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-03-30 15:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-30 15:12 [PATCH 3/5] ide: make 32-bit I/O support for IDE VLB available only when it makes sense Bartlomiej Zolnierkiewicz
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.