diff options
-rw-r--r-- | drivers/ide/ide-iops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ide/ide-iops.c b/drivers/ide/ide-iops.c index 53024942a7eb..b443b04a4c5a 100644 --- a/drivers/ide/ide-iops.c +++ b/drivers/ide/ide-iops.c | |||
@@ -1181,7 +1181,8 @@ static ide_startstop_t do_reset1 (ide_drive_t *drive, int do_not_try_atapi) | |||
1181 | pre_reset(drive); | 1181 | pre_reset(drive); |
1182 | SELECT_DRIVE(drive); | 1182 | SELECT_DRIVE(drive); |
1183 | udelay (20); | 1183 | udelay (20); |
1184 | hwif->OUTB(WIN_SRST, IDE_COMMAND_REG); | 1184 | hwif->OUTBSYNC(drive, WIN_SRST, IDE_COMMAND_REG); |
1185 | ndelay(400); | ||
1185 | hwgroup->poll_timeout = jiffies + WAIT_WORSTCASE; | 1186 | hwgroup->poll_timeout = jiffies + WAIT_WORSTCASE; |
1186 | hwgroup->polling = 1; | 1187 | hwgroup->polling = 1; |
1187 | __ide_set_handler(drive, &atapi_reset_pollfunc, HZ/20, NULL); | 1188 | __ide_set_handler(drive, &atapi_reset_pollfunc, HZ/20, NULL); |