Commit 0add1dfa authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] use new outbsync when sending commands

parent 9ca3fc76
...@@ -1056,7 +1056,7 @@ void ide_execute_command(ide_drive_t *drive, task_ioreg_t cmd, ide_handler_t *ha ...@@ -1056,7 +1056,7 @@ void ide_execute_command(ide_drive_t *drive, task_ioreg_t cmd, ide_handler_t *ha
hwgroup->expiry = expiry; hwgroup->expiry = expiry;
hwgroup->timer.expires = jiffies + timeout; hwgroup->timer.expires = jiffies + timeout;
add_timer(&hwgroup->timer); add_timer(&hwgroup->timer);
hwif->OUTBSYNC(cmd, IDE_COMMAND_REG); hwif->OUTBSYNC(drive, cmd, IDE_COMMAND_REG);
/* Drive takes 400nS to respond, we must avoid the IRQ being /* Drive takes 400nS to respond, we must avoid the IRQ being
serviced before that. serviced before that.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment