svn commit: r320865 - head/sys/dev/isp
Alexander Motin
mav at FreeBSD.org
Mon Jul 10 06:25:32 UTC 2017
Author: mav
Date: Mon Jul 10 06:25:30 2017
New Revision: 320865
URL: https://svnweb.freebsd.org/changeset/base/320865
Log:
"Port Type not registered" is not a real error for GIT_PT.
Modified:
head/sys/dev/isp/isp.c
Modified: head/sys/dev/isp/isp.c
==============================================================================
--- head/sys/dev/isp/isp.c Mon Jul 10 06:08:44 2017 (r320864)
+++ head/sys/dev/isp/isp.c Mon Jul 10 06:25:30 2017 (r320865)
@@ -3783,7 +3783,10 @@ fail:
goto abort;
if (rs->snscb_cthdr.ct_cmd_resp != LS_ACC) {
int level;
- if (rs->snscb_cthdr.ct_reason == 9 && rs->snscb_cthdr.ct_explanation == 7) {
+ /* FC-4 Type and Port Type not registered are not errors. */
+ if (rs->snscb_cthdr.ct_reason == 9 &&
+ (rs->snscb_cthdr.ct_explanation == 0x07 ||
+ rs->snscb_cthdr.ct_explanation == 0x0a)) {
level = ISP_LOG_SANCFG;
} else {
level = ISP_LOGWARN;
More information about the svn-src-all
mailing list