From: Matt Carlson Date: Tue, 13 Nov 2007 05:22:40 +0000 (-0800) Subject: [TG3]: MII => TP X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3bebab591413929c405925a8fdd98f5b0d660e39;p=openwrt%2Fstaging%2Fblogic.git [TG3]: MII => TP 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 Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index 8e76092a171e..8d518cc85ad8 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c @@ -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;