summaryrefslogtreecommitdiff
path: root/sys/dev/isp
diff options
context:
space:
mode:
authorMatt Jacob <mjacob@FreeBSD.org>2010-11-29 04:29:36 +0000
committerMatt Jacob <mjacob@FreeBSD.org>2010-11-29 04:29:36 +0000
commit831647ae0f706fda9a65f86d21b48aef4039a277 (patch)
treea76cb1b64b5b26c426e7dead462ed13b80171f6a /sys/dev/isp
parent1cf6a94f0124e62a3ebaf09e1f39a8d0da6cb75b (diff)
Notes
Diffstat (limited to 'sys/dev/isp')
-rw-r--r--sys/dev/isp/isp_freebsd.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/sys/dev/isp/isp_freebsd.c b/sys/dev/isp/isp_freebsd.c
index 965a6ff25438..ddbd46037265 100644
--- a/sys/dev/isp/isp_freebsd.c
+++ b/sys/dev/isp/isp_freebsd.c
@@ -2603,7 +2603,14 @@ isp_handle_platform_notify_24xx(ispsoftc_t *isp, in_fcentry_24xx_t *inot)
msg = "PRLO";
break;
case PLOGI:
- msg = "PLOGI";
+ case PRLI:
+ /*
+ * Treat PRLI the same as PLOGI and make a database entry for it.
+ */
+ if (inot->in_status_subcode == PLOGI)
+ msg = "PLOGI";
+ else
+ msg = "PRLI";
if (ISP_FW_NEWER_THAN(isp, 4, 0, 25)) {
ptr = (uint8_t *)inot; /* point to unswizzled entry! */
wwn = (((uint64_t) ptr[IN24XX_PLOGI_WWPN_OFF]) << 56) |
@@ -2619,9 +2626,6 @@ isp_handle_platform_notify_24xx(ispsoftc_t *isp, in_fcentry_24xx_t *inot)
}
isp_add_wwn_entry(isp, chan, wwn, nphdl, portid);
break;
- case PRLI:
- msg = "PRLI";
- break;
case PDISC:
msg = "PDISC";
break;