Author: mjacob
Date: Sun Jan  3 02:43:46 2010
New Revision: 201408
URL: http://svn.freebsd.org/changeset/base/201408

Log:
  Make sure that the WWNN is also created for 2100..2300 cards.
  MFC after:    1 day

Modified:
  head/sys/dev/isp/isp.c

Modified: head/sys/dev/isp/isp.c
==============================================================================
--- head/sys/dev/isp/isp.c      Sun Jan  3 00:27:35 2010        (r201407)
+++ head/sys/dev/isp/isp.c      Sun Jan  3 02:43:46 2010        (r201408)
@@ -8285,6 +8285,8 @@ isp_parse_nvram_2100(ispsoftc_t *isp, ui
                        if ((wwn >> 60) == 0) {
                                wwn |= (((uint64_t) 2)<< 60);
                        }
+               } else {
+                       wwn = fcp->isp_wwpn_nvram & ~((uint64_t) 0xfff << 48);
                }
        } else {
                wwn &= ~((uint64_t) 0xfff << 48);
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to