aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/isp
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2017-07-10 06:25:30 +0000
committerAlexander Motin <mav@FreeBSD.org>2017-07-10 06:25:30 +0000
commitae771931092193363334d08262e37d27532745bf (patch)
treee2ba231f7c7770d33b21f1f2062415c75dd83ee9 /sys/dev/isp
parent32b7e40e69d53a4064085ea4a19db1364c4e9468 (diff)
Notes
Diffstat (limited to 'sys/dev/isp')
-rw-r--r--sys/dev/isp/isp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/isp/isp.c b/sys/dev/isp/isp.c
index 71c059977fd9..0a39aec0b8a4 100644
--- a/sys/dev/isp/isp.c
+++ b/sys/dev/isp/isp.c
@@ -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;