netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/7] tg3: MII => TP
@ 2007-10-19 21:36 Matt Carlson
  2007-10-19 23:10 ` linux kernel networking code review request Templin, Fred L
  2007-10-21 23:14 ` [PATCH 2/7] tg3: MII => TP David Miller
  0 siblings, 2 replies; 7+ messages in thread
From: Matt Carlson @ 2007-10-19 21:36 UTC (permalink / raw)
  To: davem; +Cc: netdev, andy, Michael Chan

This patch changes the PHY type reported through ethtool for copper
devices from MII to TP.  The latter is more accurate.

Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>

diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
index 253d761..66682b8 100644
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -8274,7 +8274,7 @@ static int tg3_get_settings(struct net_device *dev, struct ethtool_cmd *cmd)
 				  SUPPORTED_100baseT_Full |
 				  SUPPORTED_10baseT_Half |
 				  SUPPORTED_10baseT_Full |
-				  SUPPORTED_MII);
+				  SUPPORTED_TP);
 		cmd->port = PORT_TP;
 	} else {
 		cmd->supported |= SUPPORTED_FIBRE;



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

end of thread, other threads:[~2007-10-22  4:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-19 21:36 [PATCH 2/7] tg3: MII => TP Matt Carlson
2007-10-19 23:10 ` linux kernel networking code review request Templin, Fred L
2007-10-20  2:15   ` Dmitry Torokhov
2007-10-20  7:05     ` Ilpo Järvinen
2007-10-21 23:14 ` [PATCH 2/7] tg3: MII => TP David Miller
2007-10-22  3:49   ` Michael Chan
2007-10-22  4:00     ` David Miller

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).