aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide.c
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 /drivers/ide/ide.c
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 'drivers/ide/ide.c')
-rw-r--r--drivers/ide/ide.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c
index 9b9b686fbacb..a93f127b8bf2 100644
--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
@@ -202,7 +202,7 @@ static void __init init_ide_data (void)
202 for (index = 0; index < MAX_HWIFS; ++index) { 202 for (index = 0; index < MAX_HWIFS; ++index) {
203 ide_hwif_t *hwif = &ide_hwifs[index]; 203 ide_hwif_t *hwif = &ide_hwifs[index];
204 unsigned long io_addr = ide_default_io_base(index); 204 unsigned long io_addr = ide_default_io_base(index);
205 unsigned long ctl_addr = ide_default_io_ctl(io_addr); 205 unsigned long ctl_addr = io_addr + 0x206;
206 206
207 ide_init_port_data(hwif, index); 207 ide_init_port_data(hwif, index);
208 208