"Port Type not registered" is not a real error for GIT_PT.

This commit is contained in:
Alexander Motin 2017-07-10 06:25:30 +00:00
parent 32b7e40e69
commit ae77193109
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=320865

View File

@ -3783,7 +3783,10 @@ isp_scan_fabric(ispsoftc_t *isp, int chan)
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;