summaryrefslogtreecommitdiffstats
path: root/sys/i386/conf
diff options
context:
space:
mode:
authorken <ken@FreeBSD.org>1999-08-20 03:48:11 +0000
committerken <ken@FreeBSD.org>1999-08-20 03:48:11 +0000
commite6adc2c52ec8788c8eb3ad672e6ced99a9b58607 (patch)
treeeb6d964c55a4f9bf8e661501cc094b71976e6b84 /sys/i386/conf
parent36d05ff1872b2d6a868dd0054ffb6787caab14ac (diff)
downloadFreeBSD-src-e6adc2c52ec8788c8eb3ad672e6ced99a9b58607.zip
FreeBSD-src-e6adc2c52ec8788c8eb3ad672e6ced99a9b58607.tar.gz
Fix short timeout problems with the pt(4) driver:
- increase the default timeout from 10 seconds to 60 seconds - add a new kernel option, SCSI_PT_DEFAULT_TIMEOUT, that lets users specify the default timeout for the pt driver to use - add two new ioctls, one to get the timeout for a given pt device, the other to set the timeout for a given pt device. The idea is that userland applications using the device can set the timeout to suit their purposes. The ioctls are defined in a new header file, sys/ptio.h PR: 10266 Reviewed by: gibbs, joerg
Diffstat (limited to 'sys/i386/conf')
-rw-r--r--sys/i386/conf/LINT6
-rw-r--r--sys/i386/conf/NOTES6
2 files changed, 10 insertions, 2 deletions
diff --git a/sys/i386/conf/LINT b/sys/i386/conf/LINT
index d536cce..d9235f6 100644
--- a/sys/i386/conf/LINT
+++ b/sys/i386/conf/LINT
@@ -2,7 +2,7 @@
# LINT -- config file for checking all the sources, tries to pull in
# as much of the source tree as it can.
#
-# $Id: LINT,v 1.626 1999/08/15 09:38:20 phk Exp $
+# $Id: LINT,v 1.627 1999/08/15 09:54:56 phk Exp $
#
# NB: You probably don't want to try running a kernel built from this
# file. Instead, you should start from GENERIC, and add options from
@@ -759,6 +759,10 @@ options SA_SPACE_TIMEOUT="(60)"
options SA_REWIND_TIMEOUT="(2*60)"
options SA_ERASE_TIMEOUT="(4*60)"
+# Optional timeout for the CAM processor target (pt) device
+# This is specified in seconds. The default is 60 seconds.
+options SCSI_PT_DEFAULT_TIMEOUT="60"
+
#####################################################################
# MISCELLANEOUS DEVICES AND OPTIONS
diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES
index d536cce..d9235f6 100644
--- a/sys/i386/conf/NOTES
+++ b/sys/i386/conf/NOTES
@@ -2,7 +2,7 @@
# LINT -- config file for checking all the sources, tries to pull in
# as much of the source tree as it can.
#
-# $Id: LINT,v 1.626 1999/08/15 09:38:20 phk Exp $
+# $Id: LINT,v 1.627 1999/08/15 09:54:56 phk Exp $
#
# NB: You probably don't want to try running a kernel built from this
# file. Instead, you should start from GENERIC, and add options from
@@ -759,6 +759,10 @@ options SA_SPACE_TIMEOUT="(60)"
options SA_REWIND_TIMEOUT="(2*60)"
options SA_ERASE_TIMEOUT="(4*60)"
+# Optional timeout for the CAM processor target (pt) device
+# This is specified in seconds. The default is 60 seconds.
+options SCSI_PT_DEFAULT_TIMEOUT="60"
+
#####################################################################
# MISCELLANEOUS DEVICES AND OPTIONS
OpenPOWER on IntegriCloud