Increase device reset timeout from 10 to 15 seconds, same as in ahci(4).
Some devices found need about 10-12 seconds to spinup.
This commit is contained in:
parent
0cc17ce608
commit
901c71c704
@ -815,7 +815,7 @@ ata_ahci_hardreset(device_t dev, int port, uint32_t *signature)
|
||||
if (!ata_sata_phy_reset(dev, port, 0))
|
||||
return (ENOENT);
|
||||
/* Wait for clearing busy status. */
|
||||
if (ata_ahci_wait_ready(dev, 10000)) {
|
||||
if (ata_ahci_wait_ready(dev, 15000)) {
|
||||
device_printf(dev, "hardware reset timeout\n");
|
||||
return (EBUSY);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user