Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98349
b: refs/heads/master
c: f54feaf
h: refs/heads/master
i:
  98347: daa9f37
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Jun 20, 2008
1 parent b81f209 commit 116a40b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ce42a54946db338e43be9a89c0f7927e02aa3a16
refs/heads/master: f54feafa6d47d0aa1a96adefdc763b708b02f94f
6 changes: 3 additions & 3 deletions trunk/drivers/ide/ide-taskfile.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,10 +225,10 @@ static u8 wait_drive_not_busy(ide_drive_t *drive)
u8 stat;

/*
* Last sector was transfered, wait until drive is ready.
* This can take up to 10 usec, but we will wait max 1 ms.
* Last sector was transfered, wait until device is ready. This can
* take up to 6 ms on some ATAPI devices, so we will wait max 10 ms.
*/
for (retries = 0; retries < 100; retries++) {
for (retries = 0; retries < 1000; retries++) {
stat = ide_read_status(drive);

if (stat & BUSY_STAT)
Expand Down

0 comments on commit 116a40b

Please sign in to comment.