netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/6] tg3: TSO loopback and EEH support
@ 2011-04-25 22:42 Matt Carlson
  2011-04-26  7:25 ` David Miller
       [not found] ` <1303776118.24299.1.camel@Joe-Laptop>
  0 siblings, 2 replies; 12+ messages in thread
From: Matt Carlson @ 2011-04-25 22:42 UTC (permalink / raw)
  To: davem; +Cc: netdev, mcarlson

This patchset implements TSO loopback support into the selftest.  It also
adds EEH support.



^ permalink raw reply	[flat|nested] 12+ messages in thread
* [PATCH net-next 9/9] tg3: Add additional EEE messaging
@ 2011-04-20 17:57 Matt Carlson
  2011-04-21  6:39 ` [PATCH] tg3: Convert u32 flag,flg2,flg3 uses to bitmap Joe Perches
  0 siblings, 1 reply; 12+ messages in thread
From: Matt Carlson @ 2011-04-20 17:57 UTC (permalink / raw)
  To: davem; +Cc: netdev, mcarlson

This patch adds link messages and an item to the sign-on banner to make
EEE status more visible.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Reviewed-by: Michael Chan <mchan@broadcom.com>
---
 drivers/net/tg3.c |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
index 9ed6bfb..693f36e 100644
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -1360,6 +1360,11 @@ static void tg3_link_report(struct tg3 *tp)
 			    "on" : "off",
 			    (tp->link_config.active_flowctrl & FLOW_CTRL_RX) ?
 			    "on" : "off");
+
+		if (tp->phy_flags & TG3_PHYFLG_EEE_CAP)
+			netdev_info(tp->dev, "EEE is %s\n",
+				    tp->setlpicnt ? "enabled" : "disabled");
+
 		tg3_ump_link_report(tp);
 	}
 }
@@ -15278,8 +15283,10 @@ static int __devinit tg3_init_one(struct pci_dev *pdev,
 			ethtype = "10/100/1000Base-T";
 
 		netdev_info(dev, "attached PHY is %s (%s Ethernet) "
-			    "(WireSpeed[%d])\n", tg3_phy_string(tp), ethtype,
-			  (tp->phy_flags & TG3_PHYFLG_NO_ETH_WIRE_SPEED) == 0);
+			    "(WireSpeed[%d], EEE[%d])\n",
+			    tg3_phy_string(tp), ethtype,
+			    (tp->phy_flags & TG3_PHYFLG_NO_ETH_WIRE_SPEED) == 0,
+			    (tp->phy_flags & TG3_PHYFLG_EEE_CAP) != 0);
 	}
 
 	netdev_info(dev, "RXcsums[%d] LinkChgREG[%d] MIirq[%d] ASF[%d] TSOcap[%d]\n",
-- 
1.7.3.4



^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-04-28 20:43 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-25 22:42 [PATCH net-next 0/6] tg3: TSO loopback and EEH support Matt Carlson
2011-04-26  7:25 ` David Miller
     [not found] ` <1303776118.24299.1.camel@Joe-Laptop>
     [not found]   ` <20110426001738.GB802@mcarlson.broadcom.com>
     [not found]     ` <1303776574.24299.3.camel@Joe-Laptop>
     [not found]       ` <20110426013512.GA2031@mcarlson.broadcom.com>
2011-04-26 18:12         ` [PATCH] tg3: Convert u32 flag,flg2,flg3 uses to bitmap Joe Perches
2011-04-26 19:49           ` David Miller
2011-04-27 16:28           ` Matt Carlson
2011-04-28 20:42             ` David Miller
  -- strict thread matches above, loose matches on Subject: below --
2011-04-20 17:57 [PATCH net-next 9/9] tg3: Add additional EEE messaging Matt Carlson
2011-04-21  6:39 ` [PATCH] tg3: Convert u32 flag,flg2,flg3 uses to bitmap Joe Perches
2011-04-21  6:52   ` Joe Perches
2011-04-21  8:31   ` Eric Dumazet
2011-04-21 16:49     ` Joe Perches
2011-04-21 17:18   ` Michael Chan
2011-04-21 17:51     ` Joe Perches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).