Skip to contentSkip to conversation

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

PATCH New Bartlomiej Zolnierkiewicz 1 participant 1 message Apr 10, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

---
 drivers/ide/ide-floppy.c |    1 +
 drivers/ide/ide-tape.c   |    1 +
 drivers/scsi/ide-scsi.c  |    1 +
 3 files changed, 3 insertions(+)
drivers/ide/ide-floppy.c +1 -0
Index: b/drivers/ide/ide-floppy.c
===================================================================
@@ -698,6 +698,7 @@ static ide_startstop_t idefloppy_issue_p
 		/* Issue the packet command */
 		hwif->OUTBSYNC(drive, WIN_PACKETCMD,
 			       hwif->io_ports.command_addr);
+		ndelay(400);
 		return (*pkt_xfer_routine) (drive);
 	}
 }
drivers/ide/ide-tape.c +1 -0
Index: b/drivers/ide/ide-tape.c
===================================================================
@@ -1058,6 +1058,7 @@ static ide_startstop_t idetape_issue_pc(
 	} else {
 		hwif->OUTBSYNC(drive, WIN_PACKETCMD,
 			       hwif->io_ports.command_addr);
+		ndelay(400);
 		return idetape_transfer_pc(drive);
 	}
 }
drivers/scsi/ide-scsi.c +1 -0
Index: b/drivers/scsi/ide-scsi.c
===================================================================
@@ -576,6 +576,7 @@ static ide_startstop_t idescsi_issue_pc(
 		/* Issue the packet command */
 		hwif->OUTBSYNC(drive, WIN_PACKETCMD,
 			       hwif->io_ports.command_addr);
+		ndelay(400);
 		return idescsi_transfer_pc(drive);
 	}
 }