ide-{floppy,tape,scsi}: 400ns delay is required after executing the command

Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent 32b3fe4f
...@@ -698,6 +698,7 @@ static ide_startstop_t idefloppy_issue_pc(ide_drive_t *drive, ...@@ -698,6 +698,7 @@ static ide_startstop_t idefloppy_issue_pc(ide_drive_t *drive,
/* Issue the packet command */ /* Issue the packet command */
hwif->OUTBSYNC(drive, WIN_PACKETCMD, hwif->OUTBSYNC(drive, WIN_PACKETCMD,
hwif->io_ports.command_addr); hwif->io_ports.command_addr);
ndelay(400);
return (*pkt_xfer_routine) (drive); return (*pkt_xfer_routine) (drive);
} }
} }
......
...@@ -1058,6 +1058,7 @@ static ide_startstop_t idetape_issue_pc(ide_drive_t *drive, ...@@ -1058,6 +1058,7 @@ static ide_startstop_t idetape_issue_pc(ide_drive_t *drive,
} else { } else {
hwif->OUTBSYNC(drive, WIN_PACKETCMD, hwif->OUTBSYNC(drive, WIN_PACKETCMD,
hwif->io_ports.command_addr); hwif->io_ports.command_addr);
ndelay(400);
return idetape_transfer_pc(drive); return idetape_transfer_pc(drive);
} }
} }
......
...@@ -576,6 +576,7 @@ static ide_startstop_t idescsi_issue_pc(ide_drive_t *drive, ...@@ -576,6 +576,7 @@ static ide_startstop_t idescsi_issue_pc(ide_drive_t *drive,
/* Issue the packet command */ /* Issue the packet command */
hwif->OUTBSYNC(drive, WIN_PACKETCMD, hwif->OUTBSYNC(drive, WIN_PACKETCMD,
hwif->io_ports.command_addr); hwif->io_ports.command_addr);
ndelay(400);
return idescsi_transfer_pc(drive); return idescsi_transfer_pc(drive);
} }
} }
......
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