mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
87efd6d017
commit
5b2b2eba16
1 changed files with 2 additions and 1 deletions
|
|
@ -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++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue