diff options
author | Matt Jacob <mjacob@FreeBSD.org> | 2001-01-09 02:47:15 +0000 |
---|---|---|
committer | Matt Jacob <mjacob@FreeBSD.org> | 2001-01-09 02:47:15 +0000 |
commit | 4b9d588e2c22ad2f67f6f6de2a75b7c42c56bb45 (patch) | |
tree | a4da7dee74d02a260978ca5ba92d9bf12c3302a9 | |
parent | 0433833d0db6fad2d3955bda6067feb7e5c2c870 (diff) | |
download | src-4b9d588e2c22ad2f67f6f6de2a75b7c42c56bb45.tar.gz src-4b9d588e2c22ad2f67f6f6de2a75b7c42c56bb45.zip |
Follow the ISPASYNC_PDB_CHANGED -> ISPASYNC_LOGGED_INOUT change. Also,
ISPASYNC_NOTIFY_CHANGE now is for both local loop && fabric changes.
Notes
Notes:
svn path=/head/; revision=70822
-rw-r--r-- | sys/dev/isp/isp_freebsd.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/dev/isp/isp_freebsd.c b/sys/dev/isp/isp_freebsd.c index 944798f91d2c..e6f80d0a321a 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: |