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/ata-all.h | |
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/ata-all.h')
-rw-r--r-- | sys/dev/ata/ata-all.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/ata/ata-all.h b/sys/dev/ata/ata-all.h index 2bc8936..f832505 100644 --- a/sys/dev/ata/ata-all.h +++ b/sys/dev/ata/ata-all.h @@ -345,6 +345,10 @@ struct ata_ahci_cmd_list { #define ATA_OP_FINISHED 1 #define ATA_MAX_28BIT_LBA 268435455UL +#ifndef ATA_REQUEST_TIMEOUT +#define ATA_REQUEST_TIMEOUT 10 +#endif + /* structure used for composite atomic operations */ #define MAX_COMPOSITES 32 /* u_int32_t bits */ struct ata_composite { |