From owner-svn-src-head@FreeBSD.ORG Sun Jan 3 02:43:47 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63EE01065672; Sun, 3 Jan 2010 02:43:47 +0000 (UTC) (envelope-from mjacob@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 539638FC13; Sun, 3 Jan 2010 02:43:47 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o032hl64028551; Sun, 3 Jan 2010 02:43:47 GMT (envelope-from mjacob@svn.freebsd.org) Received: (from mjacob@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o032hlLX028549; Sun, 3 Jan 2010 02:43:47 GMT (envelope-from mjacob@svn.freebsd.org) Message-Id: <201001030243.o032hlLX028549@svn.freebsd.org> From: Matt Jacob Date: Sun, 3 Jan 2010 02:43:47 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r201408 - head/sys/dev/isp X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2010 02:43:47 -0000 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);