Skip to contentSkip to conversation

tg3: MII => TP

PATCH Applied Matt Carlson 2 participants 2 messages Nov 10, 2007 – Nov 13, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 12/13 tg3: MII => TP

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

drivers/net/tg3.c +1 -1
index 8e76092..8d518cc 100644
@@ -8329,7 +8329,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;