mirror of https://github.com/ipxe/ipxe.git
[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>pull/1/head
parent
1415ec9c9a
commit
98817e2c38
|
@ -758,14 +758,12 @@ static int fcoe_fip_rx_advertisement ( struct fcoe_port *fcoe,
|
||||||
fcoe->flags |= FCOE_FCF_ALLOWS_SPMA;
|
fcoe->flags |= FCOE_FCF_ALLOWS_SPMA;
|
||||||
memcpy ( fcoe->fcf_mac, mac_address->mac,
|
memcpy ( fcoe->fcf_mac, mac_address->mac,
|
||||||
sizeof ( fcoe->fcf_mac ) );
|
sizeof ( fcoe->fcf_mac ) );
|
||||||
DBGC ( fcoe, "FCoE %s selected FCF %s (priority %d, ",
|
DBGC ( fcoe, "FCoE %s selected FCF %s (pri %d",
|
||||||
fcoe->netdev->name, eth_ntoa ( fcoe->fcf_mac ),
|
fcoe->netdev->name, eth_ntoa ( fcoe->fcf_mac ),
|
||||||
fcoe->priority );
|
fcoe->priority );
|
||||||
if ( fcoe->keepalive ) {
|
if ( fcoe->keepalive ) {
|
||||||
DBGC ( fcoe, "keepalive %dms",
|
DBGC ( fcoe, ", FKA ADV %dms",
|
||||||
fcoe->keepalive );
|
fcoe->keepalive );
|
||||||
} else {
|
|
||||||
DBGC ( fcoe, "no keepalive" );
|
|
||||||
}
|
}
|
||||||
DBGC ( fcoe, ", %cPMA)\n",
|
DBGC ( fcoe, ", %cPMA)\n",
|
||||||
( ( fcoe->flags & FCOE_FCF_ALLOWS_SPMA ) ?
|
( ( fcoe->flags & FCOE_FCF_ALLOWS_SPMA ) ?
|
||||||
|
|
Loading…
Reference in New Issue