aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-x86/ide.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-17 18:46:34 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-04-17 18:46:34 -0400
commit9dfcd15a6dc1ef81307295e08b797fa9212be71a (patch)
tree68ed0ccf99ff3d0e6d6043687823cea905edac32 /include/asm-x86/ide.h
parent5c50427090303a6552949c14128200154ff69594 (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-x86/ide.h')
-rw-r--r--include/asm-x86/ide.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/asm-x86/ide.h b/include/asm-x86/ide.h
index 58080a7111de..800edccd33f1 100644
--- a/include/asm-x86/ide.h
+++ b/include/asm-x86/ide.h
@@ -58,8 +58,6 @@ static __inline__ unsigned long ide_default_io_base(int index)
58 } 58 }
59} 59}
60 60
61#define ide_default_io_ctl(base) ((base) + 0x206) /* obsolete */
62
63#ifdef CONFIG_BLK_DEV_IDEPCI 61#ifdef CONFIG_BLK_DEV_IDEPCI
64#define ide_init_default_irq(base) (0) 62#define ide_init_default_irq(base) (0)
65#else 63#else