aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-probe.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/ide-probe.c')
-rw-r--r--drivers/ide/ide-probe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c
index c42fcfedcbf6..fe14d576ef01 100644
--- a/drivers/ide/ide-probe.c
+++ b/drivers/ide/ide-probe.c
@@ -275,7 +275,7 @@ static int actual_try_to_identify (ide_drive_t *drive, u8 cmd)
275 msleep(50); 275 msleep(50);
276 276
277 if (io_ports->ctl_addr) { 277 if (io_ports->ctl_addr) {
278 a = ide_read_altstatus(drive); 278 a = hwif->read_altstatus(hwif);
279 s = hwif->read_status(hwif); 279 s = hwif->read_status(hwif);
280 if ((a ^ s) & ~INDEX_STAT) 280 if ((a ^ s) & ~INDEX_STAT)
281 /* ancient Seagate drives, broken interfaces */ 281 /* ancient Seagate drives, broken interfaces */
@@ -306,7 +306,7 @@ static int actual_try_to_identify (ide_drive_t *drive, u8 cmd)
306 } 306 }
307 /* give drive a breather */ 307 /* give drive a breather */
308 msleep(50); 308 msleep(50);
309 s = use_altstatus ? ide_read_altstatus(drive) 309 s = use_altstatus ? hwif->read_altstatus(hwif)
310 : hwif->read_status(hwif); 310 : hwif->read_status(hwif);
311 } while (s & BUSY_STAT); 311 } while (s & BUSY_STAT);
312 312