[fc] Maintain a list of Fibre Channel upper-layer protocol users

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2011-06-24 22:49:10 +01:00
parent 5763472b34
commit bf8bfa23e2
4 changed files with 73 additions and 39 deletions

View File

@@ -74,8 +74,7 @@ void fcpeerstat ( struct fc_peer *peer ) {
}
list_for_each_entry ( ulp, &peer->ulps, list ) {
printf ( " [Type %02x usage %d link:",
ulp->type, ulp->usage );
printf ( " [Type %02x link:", ulp->type );
if ( fc_link_ok ( &ulp->link ) ) {
printf ( " up, params" );
param = ulp->param;