Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jan 2010 02:43:47 +0000 (UTC)
From:      Matt Jacob <mjacob@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r201408 - head/sys/dev/isp
Message-ID:  <201001030243.o032hlLX028549@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001030243.o032hlLX028549>