staging: octeon-ethernet: add queue information to carrier note
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sat, 4 Apr 2015 19:51:06 +0000 (22:51 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Apr 2015 14:59:23 +0000 (16:59 +0200)
Add queue information to carrier note.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/octeon/ethernet-mdio.c

index ec38cb07eb7c194cbd5e5b2c58c2e87e9c13ede2..604fb581f1c314a13dbd6b81beaf899cee8e043f 100644 (file)
@@ -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));