Skip to content
Snippets Groups Projects
Commit f8b009e8 authored by Mark Langsdorf's avatar Mark Langsdorf Committed by Tom Rini
Browse files

ahci: extend data io wait to 10s


The AHCI driver currently waits 5s before timing out when sending a
data command to a drive. Some drives take upwards of 8s to respond to
the initial data command while they're spinning up. Increase the
data io timeout to 10s so that those drives can be found on initial
scsi scan.

Signed-off-by: default avatarMark Langsdorf <mark.langsdorf@gmail.com>
Signed-off-by: default avatarAndre Przywara <osp@andrep.de>
parent 2b42c931
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ u16 *ataid[AHCI_MAX_PORTS];
/* Maximum timeouts for each event */
#define WAIT_MS_SPINUP 20000
#define WAIT_MS_DATAIO 5000
#define WAIT_MS_DATAIO 10000
#define WAIT_MS_FLUSH 5000
#define WAIT_MS_LINKUP 200
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment