summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/atapi-cd.c
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2009-10-26 11:20:14 +0000
committermav <mav@FreeBSD.org>2009-10-26 11:20:14 +0000
commit4d4863d52a449616bbb043267dc0972d97a239b8 (patch)
tree63a26e4166d4473755e4690bdef7cef5c64bc75f /sys/dev/ata/atapi-cd.c
parent984a5d433ffe0e65073d9efe3d5b4e8ad2fda46c (diff)
downloadFreeBSD-src-4d4863d52a449616bbb043267dc0972d97a239b8.zip
FreeBSD-src-4d4863d52a449616bbb043267dc0972d97a239b8.tar.gz
Increase ATA command timeouts. Some drives need more then 5s to spin-up.
PR: kern/111023
Diffstat (limited to 'sys/dev/ata/atapi-cd.c')
-rw-r--r--sys/dev/ata/atapi-cd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/atapi-cd.c b/sys/dev/ata/atapi-cd.c
index 941c101..2791826 100644
--- a/sys/dev/ata/atapi-cd.c
+++ b/sys/dev/ata/atapi-cd.c
@@ -700,7 +700,7 @@ acd_geom_access(struct g_provider *pp, int dr, int dw, int de)
request->dev = dev;
bcopy(ccb, request->u.atapi.ccb, 16);
request->flags = ATA_R_ATAPI;
- request->timeout = 5;
+ request->timeout = 10;
ata_queue_request(request);
if (!request->error &&
(request->u.atapi.sense.key == 2 ||
OpenPOWER on IntegriCloud