aboutsummaryrefslogtreecommitdiff
path: root/sys/conf
diff options
context:
space:
mode:
authorKenneth D. Merry <ken@FreeBSD.org>2016-12-20 21:17:07 +0000
committerKenneth D. Merry <ken@FreeBSD.org>2016-12-20 21:17:07 +0000
commit08167db8d6cbcc08a176c191431c64db2087e12e (patch)
tree3f4b6b10123e61c82c1209edf5006e29b708005d /sys/conf
parentf6080aabd77540ed6218557d70d288eb6d2ee7c1 (diff)
downloadsrc-08167db8d6cbcc08a176c191431c64db2087e12e.tar.gz
src-08167db8d6cbcc08a176c191431c64db2087e12e.zip
Turn on FC-Tape by default in the isp(4) driver.
FC-Tape provides additional link level error recovery, and is highly recommended for tape devices. It will only be turned on for a given target if the target supports it. Without this setting, we default to whatever FC-Tape setting is in NVRAM on the card. This can be overridden by setting the following loader tunable, for example for isp0: hint.isp.0.nofctape=1 sys/conf/options: Add a new kernel config option, ISP_FCTAPE_OFF, that defaults the FC-Tape configuration to off. sys/dev/isp/isp_pci.c: If ISP_FCTAPE_OFF is defined, turn off FC-Tape. Otherwise, turn it on if the card supports it. share/man/man4/isp.4: Add a description of FC-Tape to the isp(4) man page. Add descriptions of the fctape and nofctape options, as well as the ISP_FCTAPE_OFF kernel configuration option. Add the ispfw module and kernel drivers to the suggested configurations at the top of the man page so that users are less likely to leave it out. The driver works well with the included firmware, but may not work at all with whatever firmware the user has flashed on their card. MFC after: 3 days Sponsored by: Spectra Logic
Notes
Notes: svn path=/head/; revision=310338
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/options1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/options b/sys/conf/options
index 1f20983c2097..17923ea628b9 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -384,6 +384,7 @@ ISP_TARGET_MODE opt_isp.h
ISP_FW_CRASH_DUMP opt_isp.h
ISP_DEFAULT_ROLES opt_isp.h
ISP_INTERNAL_TARGET opt_isp.h
+ISP_FCTAPE_OFF opt_isp.h
# Options used only in dev/iscsi
ISCSI_INITIATOR_DEBUG opt_iscsi_initiator.h