From: Matt Carlson Date: Tue, 13 Nov 2007 05:22:40 +0000 (-0800) Subject: [TG3]: MII => TP X-Git-Tag: v2.6.24-rc3~145^2~12 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3bebab591413929c405925a8fdd98f5b0d660e39;p=platform%2Fkernel%2Flinux-3.10.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 8e76092..8d518cc 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;