diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-09 10:21:34 +1000 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2008-04-09 10:21:34 +1000 |
commit | bf52ababa2a09ad59331cccf54af4dfb0119de75 (patch) | |
tree | 6f94badab6578b1f660633217eb3114ce680496b | |
parent | 726763f4c69caf7df5faf3bb693d16bfc9305847 (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.h | 7 |
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 /* |