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>
This commit is contained in:
Bartlomiej Zolnierkiewicz
2008-04-18 00:46:34 +02:00
parent 5c50427090
commit 9dfcd15a6d
13 changed files with 1 additions and 34 deletions

View File

@@ -202,7 +202,7 @@ static void __init init_ide_data (void)
for (index = 0; index < MAX_HWIFS; ++index) {
ide_hwif_t *hwif = &ide_hwifs[index];
unsigned long io_addr = ide_default_io_base(index);
unsigned long ctl_addr = ide_default_io_ctl(io_addr);
unsigned long ctl_addr = io_addr + 0x206;
ide_init_port_data(hwif, index);