diff options
| author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-17 12:09:15 -0400 |
|---|---|---|
| committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-10-17 12:09:15 -0400 |
| commit | dc10f6119636a5ff13b633e722e720fe0253202b (patch) | |
| tree | d44970eeef023c149b2f34dacdc936d06fe7dbce /include/asm-m68k | |
| parent | c36167de652f8acdf0b374c78805e662646cd327 (diff) | |
ide: remove M68K_IDE_SWAPW define from <asm-m68k/ide.h>
Since we solved this by overriding default ->{in,out}put_data
methods in {q40,falcon}ide M68K_IDE_SWAP define can go away.
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/asm-m68k')
| -rw-r--r-- | include/asm-m68k/ide.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/asm-m68k/ide.h b/include/asm-m68k/ide.h index 1daf6cbdd9f0..b996a3c8cff5 100644 --- a/include/asm-m68k/ide.h +++ b/include/asm-m68k/ide.h | |||
| @@ -92,15 +92,6 @@ | |||
| 92 | #define outsw_swapw(port, addr, n) raw_outsw_swapw((u16 *)port, addr, n) | 92 | #define outsw_swapw(port, addr, n) raw_outsw_swapw((u16 *)port, addr, n) |
| 93 | #endif | 93 | #endif |
| 94 | 94 | ||
| 95 | |||
| 96 | /* Q40 and Atari have byteswapped IDE busses and since many interesting | ||
| 97 | * values in the identification string are text, chars and words they | ||
| 98 | * happened to be almost correct without swapping.. However *_capacity | ||
| 99 | * is needed for drives over 8 GB. RZ */ | ||
| 100 | #if defined(CONFIG_Q40) || defined(CONFIG_ATARI) | ||
| 101 | #define M68K_IDE_SWAPW (MACH_IS_Q40 || MACH_IS_ATARI) | ||
| 102 | #endif | ||
| 103 | |||
| 104 | #ifdef CONFIG_BLK_DEV_FALCON_IDE | 95 | #ifdef CONFIG_BLK_DEV_FALCON_IDE |
| 105 | #define IDE_ARCH_LOCK | 96 | #define IDE_ARCH_LOCK |
| 106 | 97 | ||
