diff options
author | mav <mav@FreeBSD.org> | 2009-11-08 14:33:19 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2009-11-08 14:33:19 +0000 |
commit | f4274f9678e4ce496e30c73d5889107ff757b668 (patch) | |
tree | bf0681a1405da1f51d118ec021474ba048a45f56 /sys/dev/ata/atapi-cd.c | |
parent | 7280a5804337eb23b6b23e35071316756d35365d (diff) | |
download | FreeBSD-src-f4274f9678e4ce496e30c73d5889107ff757b668.zip FreeBSD-src-f4274f9678e4ce496e30c73d5889107ff757b668.tar.gz |
Introduce define and kernel option ATA_REQUEST_TIMEOUT to control ATA(4)
command timeout.
Submitted by: keramida
Diffstat (limited to 'sys/dev/ata/atapi-cd.c')
-rw-r--r-- | sys/dev/ata/atapi-cd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/atapi-cd.c b/sys/dev/ata/atapi-cd.c index 7e23db6..a021e00 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 = 10; + request->timeout = ATA_REQUEST_TIMEOUT; ata_queue_request(request); if (!request->error && (request->u.atapi.sense.key == 2 || |