svn commit: r201408 - head/sys/dev/isp

Matt Jacob mjacob at FreeBSD.org
Sun Jan 3 02:43:47 UTC 2010


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);


More information about the svn-src-head mailing list