summaryrefslogtreecommitdiffstats
path: root/sys/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/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/conf')
-rw-r--r--sys/conf/NOTES6
-rw-r--r--sys/conf/options7
2 files changed, 10 insertions, 3 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index d536cce..d9235f6 100644
--- a/sys/conf/NOTES
+++ b/sys/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
diff --git a/sys/conf/options b/sys/conf/options
index 8a4f8a0..f54689a 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -1,4 +1,4 @@
-# $Id: options,v 1.145 1999/08/10 09:42:32 des Exp $
+# $Id: options,v 1.146 1999/08/16 22:39:53 gibbs Exp $
#
# On the handling of kernel options
#
@@ -169,11 +169,14 @@ SCSI_NO_OP_STRINGS opt_scsi.h
CHANGER_MIN_BUSY_SECONDS opt_cd.h
CHANGER_MAX_BUSY_SECONDS opt_cd.h
-# Options used only in cam/scsi/sa.c.
+# Options used only in cam/scsi/scsi_sa.c.
SA_SPACE_TIMEOUT opt_sa.h
SA_REWIND_TIMEOUT opt_sa.h
SA_ERASE_TIMEOUT opt_sa.h
+# Options used only in cam/scsi/scsi_pt.c
+SCSI_PT_DEFAULT_TIMEOUT opt_pt.h
+
# Options used only in pci/ncr.c
SCSI_NCR_DEBUG opt_ncr.h
SCSI_NCR_DFLT_TAGS opt_ncr.h
OpenPOWER on IntegriCloud