aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/isp
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>2010-01-03 02:43:46 +0000
committerMatt Jacob <mjacob@FreeBSD.org>2010-01-03 02:43:46 +0000
commit1943fd192a6d62d546686b5c7345dffe903e2fde (patch)
tree8478c16f3ab6ea1134a2384d23302fa09fa89efb /sys/dev/isp
parent1ee5de4482bd3d541b5b1e427c28aade3d43bb32 (diff)
downloadsrc-1943fd192a6d62d546686b5c7345dffe903e2fde.tar.gz
src-1943fd192a6d62d546686b5c7345dffe903e2fde.zip
Make sure that the WWNN is also created for 2100..2300 cards.
MFC after: 1 day
Notes
Notes: svn path=/head/; revision=201408
Diffstat (limited to 'sys/dev/isp')
-rw-r--r--sys/dev/isp/isp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/isp/isp.c b/sys/dev/isp/isp.c
index 918d9551b0cb..2a4718c23195 100644
--- a/sys/dev/isp/isp.c
+++ b/sys/dev/isp/isp.c
@@ -8285,6 +8285,8 @@ isp_parse_nvram_2100(ispsoftc_t *isp, uint8_t *nvram_data)
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);