From 4b9d588e2c22ad2f67f6f6de2a75b7c42c56bb45 Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Tue, 9 Jan 2001 02:47:15 +0000 Subject: [PATCH] Follow the ISPASYNC_PDB_CHANGED -> ISPASYNC_LOGGED_INOUT change. Also, ISPASYNC_NOTIFY_CHANGE now is for both local loop && fabric changes. --- sys/dev/isp/isp_freebsd.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sys/dev/isp/isp_freebsd.c b/sys/dev/isp/isp_freebsd.c index 944798f91d2..e6f80d0a321 100644 --- a/sys/dev/isp/isp_freebsd.c +++ b/sys/dev/isp/isp_freebsd.c @@ -2082,7 +2082,7 @@ isp_async(struct ispsoftc *isp, ispasync_t cmd, void *arg) } isp_prt(isp, ISP_LOGINFO, "Loop UP"); break; - case ISPASYNC_PDB_CHANGED: + case ISPASYNC_LOGGED_INOUT: { const char *fmt = "Target %d (Loop 0x%x) Port ID 0x%x " "role %s %s\n Port WWN 0x%08x%08x\n Node WWN 0x%08x%08x"; @@ -2108,7 +2108,13 @@ isp_async(struct ispsoftc *isp, ispasync_t cmd, void *arg) break; } case ISPASYNC_CHANGE_NOTIFY: - isp_prt(isp, ISP_LOGINFO, "Name Server Database Changed"); + if (arg == (void *) 1) { + isp_prt(isp, ISP_LOGINFO, + "Name Server Database Changed"); + } else { + isp_prt(isp, ISP_LOGINFO, + "Name Server Database Changed"); + } break; #ifdef ISP2100_FABRIC case ISPASYNC_FABRIC_DEV: