PERFORCE change 106699 for review
Matt Jacob
mjacob at FreeBSD.org
Mon Sep 25 20:28:19 PDT 2006
http://perforce.freebsd.org/chv.cgi?CH=106699
Change 106699 by mjacob at newisp on 2006/09/26 03:28:12
Make Fabric device chattiness fit within 80 columns.
Affected files ...
.. //depot/projects/newisp/dev/isp/isp_freebsd.c#8 edit
Differences ...
==== //depot/projects/newisp/dev/isp/isp_freebsd.c#8 (text+ko) ====
@@ -2886,10 +2886,10 @@
"(none)", "Target", "Initiator", "Target/Initiator"
};
static const char prom[] =
- "PortID 0x%06x N-port Handle %u pdb_idx %lu role %s %s\n"
+ "PortID 0x%06x N-port Handle %u role %s %s\n"
" WWNN 0x%08x%08x WWPN 0x%08x%08x";
static const char prom2[] =
- "PortID 0x%06x N-port Handle %u pdb_idx %lu role %s %s tgt %u\n"
+ "PortID 0x%06x N-port Handle %u role %s %s tgt %u\n"
" WWNN 0x%08x%08x WWPN 0x%08x%08x";
target_id_t tgt;
fcportdb_t *lp;
@@ -3034,7 +3034,6 @@
tgt = lp->ini_map_idx - 1;
isp_prt(isp, ISP_LOGCONFIG, prom2,
lp->portid, lp->handle,
- (unsigned long) (lp - FCPARAM(isp)->portdb),
roles[lp->roles & 0x3], "arrived at", tgt,
(uint32_t) (lp->node_wwn >> 32),
(uint32_t) lp->node_wwn,
@@ -3055,7 +3054,6 @@
} else {
isp_prt(isp, ISP_LOGCONFIG, prom,
lp->portid, lp->handle,
- (unsigned long) (lp - FCPARAM(isp)->portdb),
roles[lp->roles & 0x3], "arrived",
(uint32_t) (lp->node_wwn >> 32),
(uint32_t) lp->node_wwn,
@@ -3069,7 +3067,6 @@
tgt = lp->ini_map_idx - 1;
isp_prt(isp, ISP_LOGCONFIG, prom2,
lp->portid, lp->handle,
- (unsigned long) (lp - FCPARAM(isp)->portdb),
roles[lp->roles & 0x3], "changed at", tgt,
(uint32_t) (lp->node_wwn >> 32),
(uint32_t) lp->node_wwn,
@@ -3078,7 +3075,6 @@
} else {
isp_prt(isp, ISP_LOGCONFIG, prom,
lp->portid, lp->handle,
- (unsigned long) (lp - FCPARAM(isp)->portdb),
roles[lp->roles & 0x3], "changed",
(uint32_t) (lp->node_wwn >> 32),
(uint32_t) lp->node_wwn,
@@ -3092,7 +3088,6 @@
tgt = lp->ini_map_idx - 1;
isp_prt(isp, ISP_LOGCONFIG, prom2,
lp->portid, lp->handle,
- (unsigned long) (lp - FCPARAM(isp)->portdb),
roles[lp->roles & 0x3], "stayed at", tgt,
(uint32_t) (lp->node_wwn >> 32),
(uint32_t) lp->node_wwn,
@@ -3101,7 +3096,6 @@
} else {
isp_prt(isp, ISP_LOGCONFIG, prom,
lp->portid, lp->handle,
- (unsigned long) (lp - FCPARAM(isp)->portdb),
roles[lp->roles & 0x3], "stayed",
(uint32_t) (lp->node_wwn >> 32),
(uint32_t) lp->node_wwn,
@@ -3115,7 +3109,6 @@
tgt = lp->ini_map_idx - 1;
isp_prt(isp, ISP_LOGCONFIG, prom2,
lp->portid, lp->handle,
- (unsigned long) (lp - FCPARAM(isp)->portdb),
roles[lp->roles & 0x3], "departed from", tgt,
(uint32_t) (lp->node_wwn >> 32),
(uint32_t) lp->node_wwn,
@@ -3136,7 +3129,6 @@
} else {
isp_prt(isp, ISP_LOGCONFIG, prom,
lp->portid, lp->handle,
- (unsigned long) (lp - FCPARAM(isp)->portdb),
roles[lp->roles & 0x3], "departed",
(uint32_t) (lp->node_wwn >> 32),
(uint32_t) lp->node_wwn,
More information about the p4-projects
mailing list