diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-06-20 15:46:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-06-20 15:46:47 -0400 |
commit | 06d5e334a4f8a1f33ebfcdc89c077f4fc85bcffb (patch) | |
tree | f8a55625cef3e754702add71acaf9958edfd8352 /drivers/ide/ide-taskfile.c | |
parent | d5545fa0056ff2982f8a6419bd9a6ba2674deefd (diff) | |
parent | ac1623625c5818bbdf5c68973098ba386ba7a004 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6:
BAST: Remove old IDE driver
pcmcia ide kingston compactflash's have a new manufacturer id
pcmcia: add another pata/ide ID
pcmcia: add an pata/ide ID
ide: increase timeout in wait_drive_not_busy()
palm_bk3710: fix resource management
Diffstat (limited to 'drivers/ide/ide-taskfile.c')
-rw-r--r-- | drivers/ide/ide-taskfile.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ide/ide-taskfile.c b/drivers/ide/ide-taskfile.c index 0c908ca3ff79..ab545ffa1549 100644 --- a/drivers/ide/ide-taskfile.c +++ b/drivers/ide/ide-taskfile.c | |||
@@ -225,10 +225,10 @@ static u8 wait_drive_not_busy(ide_drive_t *drive) | |||
225 | u8 stat; | 225 | u8 stat; |
226 | 226 | ||
227 | /* | 227 | /* |
228 | * Last sector was transfered, wait until drive is ready. | 228 | * Last sector was transfered, wait until device is ready. This can |
229 | * This can take up to 10 usec, but we will wait max 1 ms. | 229 | * take up to 6 ms on some ATAPI devices, so we will wait max 10 ms. |
230 | */ | 230 | */ |
231 | for (retries = 0; retries < 100; retries++) { | 231 | for (retries = 0; retries < 1000; retries++) { |
232 | stat = ide_read_status(drive); | 232 | stat = ide_read_status(drive); |
233 | 233 | ||
234 | if (stat & BUSY_STAT) | 234 | if (stat & BUSY_STAT) |