summaryrefslogtreecommitdiffstats
path: root/sys/dev/isp
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2010-01-03 02:43:46 +0000
committermjacob <mjacob@FreeBSD.org>2010-01-03 02:43:46 +0000
commit8e0e79a20184ba4ec0a70e48a708a8e26ed85e07 (patch)
tree8478c16f3ab6ea1134a2384d23302fa09fa89efb /sys/dev/isp
parent682c0944eb643a64db9c9279bfd17d6767a6bd3d (diff)
downloadFreeBSD-src-8e0e79a20184ba4ec0a70e48a708a8e26ed85e07.zip
FreeBSD-src-8e0e79a20184ba4ec0a70e48a708a8e26ed85e07.tar.gz
Make sure that the WWNN is also created for 2100..2300 cards.
MFC after: 1 day
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 918d955..2a4718c 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);
OpenPOWER on IntegriCloud