Up delay from 10 to 100ms after reset, this helps some slow devices

get their act together before we start probing.
This commit is contained in:
Søren Schmidt 2003-10-20 13:44:33 +00:00
parent 87efd6d017
commit 5b2b2eba16

View file

@ -532,7 +532,8 @@ ata_reset(struct ata_channel *ch)
ATA_IDX_OUTB(ch, ATA_ALTSTAT, ATA_A_IDS | ATA_A_RESET);
DELAY(10000);
ATA_IDX_OUTB(ch, ATA_ALTSTAT, ATA_A_IDS);
DELAY(10000);
DELAY(100000);
ATA_IDX_INB(ch, ATA_ERROR);
/* wait for BUSY to go inactive */
for (timeout = 0; timeout < 310; timeout++) {