summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2009-11-08 14:33:19 +0000
committermav <mav@FreeBSD.org>2009-11-08 14:33:19 +0000
commitf4274f9678e4ce496e30c73d5889107ff757b668 (patch)
treebf0681a1405da1f51d118ec021474ba048a45f56 /sys/conf
parent7280a5804337eb23b6b23e35071316756d35365d (diff)
downloadFreeBSD-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/conf')
-rw-r--r--sys/conf/NOTES3
-rw-r--r--sys/conf/options1
2 files changed, 4 insertions, 0 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index 7111580..7c4208d 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -1715,8 +1715,11 @@ hint.ata.1.irq="15"
#
# ATA_STATIC_ID: controller numbering is static ie depends on location
# else the device numbers are dynamically allocated.
+# ATA_REQUEST_TIMEOUT: the number of seconds to wait for an ATA request
+# before timing out.
options ATA_STATIC_ID
+#options ATA_REQUEST_TIMEOUT=10
#
# Standard floppy disk controllers and floppy tapes, supports
diff --git a/sys/conf/options b/sys/conf/options
index b1e62c3..5c146c8 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -350,6 +350,7 @@ ISCSI_INITIATOR_DEBUG opt_iscsi_initiator.h
# Options used in the 'ata' ATA/ATAPI driver
ATA_STATIC_ID opt_ata.h
ATA_NOPCI opt_ata.h
+ATA_REQUEST_TIMEOUT opt_ata.h
# Net stuff.
ACCEPT_FILTER_DATA
OpenPOWER on IntegriCloud