From: Aaro Koskinen Date: Sat, 4 Apr 2015 19:51:06 +0000 (+0300) Subject: staging: octeon-ethernet: add queue information to carrier note X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=36a14572415459877933857f67d93d3e053180a2;p=openwrt%2Fstaging%2Fblogic.git staging: octeon-ethernet: add queue information to carrier note Add queue information to carrier note. Signed-off-by: Aaro Koskinen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/octeon/ethernet-mdio.c b/drivers/staging/octeon/ethernet-mdio.c index ec38cb07eb7c..604fb581f1c3 100644 --- a/drivers/staging/octeon/ethernet-mdio.c +++ b/drivers/staging/octeon/ethernet-mdio.c @@ -120,10 +120,10 @@ static void cvm_oct_note_carrier(struct octeon_ethernet *priv, cvmx_helper_link_info_t li) { if (li.s.link_up) { - pr_notice_ratelimited("%s: %u Mbps %s duplex, port %d\n", + pr_notice_ratelimited("%s: %u Mbps %s duplex, port %d, queue %d\n", netdev_name(priv->netdev), li.s.speed, (li.s.full_duplex) ? "Full" : "Half", - priv->port); + priv->port, priv->queue); } else { pr_notice_ratelimited("%s: Link down\n", netdev_name(priv->netdev));