Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic ISPASYNC_PDB_CHANGED->ISPASYNC_LOGGED_INOUT. And ...
details: https://anonhg.NetBSD.org/src/rev/8adae679098f
branches: trunk
changeset: 501947:8adae679098f
user: mjacob <mjacob%NetBSD.org@localhost>
date: Tue Jan 09 18:54:53 2001 +0000
description:
ISPASYNC_PDB_CHANGED->ISPASYNC_LOGGED_INOUT. And also, ISPASYNC_CHANGE_NOTIFY
is for both local loop and fabric cases now.
diffstat:
sys/dev/ic/isp_netbsd.c | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diffs (43 lines):
diff -r a0df6090703b -r 8adae679098f sys/dev/ic/isp_netbsd.c
--- a/sys/dev/ic/isp_netbsd.c Tue Jan 09 18:54:06 2001 +0000
+++ b/sys/dev/ic/isp_netbsd.c Tue Jan 09 18:54:53 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: isp_netbsd.c,v 1.37 2000/12/28 22:27:47 mjacob Exp $ */
+/* $NetBSD: isp_netbsd.c,v 1.38 2001/01/09 18:54:53 mjacob Exp $ */
/*
* This driver, which is contained in NetBSD in the files:
*
@@ -706,7 +706,7 @@
isp_internal_restart, isp);
isp_prt(isp, ISP_LOGINFO, "Loop UP");
break;
- case ISPASYNC_PDB_CHANGED:
+ case ISPASYNC_LOGGED_INOUT:
if (IS_FC(isp) && isp->isp_dblev) {
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";
@@ -731,9 +731,14 @@
(u_int32_t) (lp->node_wwn & 0xffffffffLL));
break;
}
-#ifdef ISP2100_FABRIC
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;
case ISPASYNC_FABRIC_DEV:
{
@@ -785,7 +790,6 @@
lp->portid = portid;
break;
}
-#endif
default:
break;
}
Home |
Main Index |
Thread Index |
Old Index