Browse Source

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

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Bartlomiej Zolnierkiewicz 17 years ago
parent
commit
3910dde641
3 changed files with 3 additions and 0 deletions
  1. 1 0
      drivers/ide/ide-floppy.c
  2. 1 0
      drivers/ide/ide-tape.c
  3. 1 0
      drivers/scsi/ide-scsi.c

+ 1 - 0
drivers/ide/ide-floppy.c

@@ -698,6 +698,7 @@ static ide_startstop_t idefloppy_issue_pc(ide_drive_t *drive,
 		/* Issue the packet command */
 		hwif->OUTBSYNC(drive, WIN_PACKETCMD,
 			       hwif->io_ports.command_addr);
+		ndelay(400);
 		return (*pkt_xfer_routine) (drive);
 	}
 }

+ 1 - 0
drivers/ide/ide-tape.c

@@ -1058,6 +1058,7 @@ static ide_startstop_t idetape_issue_pc(ide_drive_t *drive,
 	} else {
 		hwif->OUTBSYNC(drive, WIN_PACKETCMD,
 			       hwif->io_ports.command_addr);
+		ndelay(400);
 		return idetape_transfer_pc(drive);
 	}
 }

+ 1 - 0
drivers/scsi/ide-scsi.c

@@ -576,6 +576,7 @@ static ide_startstop_t idescsi_issue_pc(ide_drive_t *drive,
 		/* Issue the packet command */
 		hwif->OUTBSYNC(drive, WIN_PACKETCMD,
 			       hwif->io_ports.command_addr);
+		ndelay(400);
 		return idescsi_transfer_pc(drive);
 	}
 }