diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-17 18:46:34 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-17 18:46:34 -0400 |
commit | 9dfcd15a6dc1ef81307295e08b797fa9212be71a (patch) | |
tree | 68ed0ccf99ff3d0e6d6043687823cea905edac32 /include/asm-sparc/ide.h | |
parent | 5c50427090303a6552949c14128200154ff69594 (diff) |
ide: remove ide_default_io_ctl() macro
It is always == '((base) + 0x206)' if CONFIG_IDE_ARCH_OBSOLETE_DEFAULTS=y
and it is not needed otherwise (arm, blackfin, parisc, ppc64, sh, sparc[64]).
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/asm-sparc/ide.h')
-rw-r--r-- | include/asm-sparc/ide.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-sparc/ide.h b/include/asm-sparc/ide.h index 4076cb5d1581..afd1736ed480 100644 --- a/include/asm-sparc/ide.h +++ b/include/asm-sparc/ide.h | |||
@@ -17,8 +17,6 @@ | |||
17 | #undef MAX_HWIFS | 17 | #undef MAX_HWIFS |
18 | #define MAX_HWIFS 2 | 18 | #define MAX_HWIFS 2 |
19 | 19 | ||
20 | #define ide_default_io_ctl(base) ((base) + 0x206) /* obsolete */ | ||
21 | |||
22 | #define __ide_insl(data_reg, buffer, wcount) \ | 20 | #define __ide_insl(data_reg, buffer, wcount) \ |
23 | __ide_insw(data_reg, buffer, (wcount)<<1) | 21 | __ide_insw(data_reg, buffer, (wcount)<<1) |
24 | #define __ide_outsl(data_reg, buffer, wcount) \ | 22 | #define __ide_outsl(data_reg, buffer, wcount) \ |