Browse Source

[fcoe] Tidy up debug message

The increase in length in Fibre Channel device names causes the
"selected FCF" message to wrap beyond 80 characters.  Fix by using
abbreviations where possible.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 14 years ago
parent
commit
98817e2c38
1 changed files with 2 additions and 4 deletions
  1. 2
    4
      src/net/fcoe.c

+ 2
- 4
src/net/fcoe.c View File

758
 				fcoe->flags |= FCOE_FCF_ALLOWS_SPMA;
758
 				fcoe->flags |= FCOE_FCF_ALLOWS_SPMA;
759
 			memcpy ( fcoe->fcf_mac, mac_address->mac,
759
 			memcpy ( fcoe->fcf_mac, mac_address->mac,
760
 				 sizeof ( fcoe->fcf_mac ) );
760
 				 sizeof ( fcoe->fcf_mac ) );
761
-			DBGC ( fcoe, "FCoE %s selected FCF %s (priority %d, ",
761
+			DBGC ( fcoe, "FCoE %s selected FCF %s (pri %d",
762
 			       fcoe->netdev->name, eth_ntoa ( fcoe->fcf_mac ),
762
 			       fcoe->netdev->name, eth_ntoa ( fcoe->fcf_mac ),
763
 			       fcoe->priority );
763
 			       fcoe->priority );
764
 			if ( fcoe->keepalive ) {
764
 			if ( fcoe->keepalive ) {
765
-				DBGC ( fcoe, "keepalive %dms",
765
+				DBGC ( fcoe, ", FKA ADV %dms",
766
 				       fcoe->keepalive );
766
 				       fcoe->keepalive );
767
-			} else {
768
-				DBGC ( fcoe, "no keepalive" );
769
 			}
767
 			}
770
 			DBGC ( fcoe, ", %cPMA)\n",
768
 			DBGC ( fcoe, ", %cPMA)\n",
771
 			       ( ( fcoe->flags & FCOE_FCF_ALLOWS_SPMA ) ?
769
 			       ( ( fcoe->flags & FCOE_FCF_ALLOWS_SPMA ) ?

Loading…
Cancel
Save