From: Matt Carlson Date: Tue, 13 Nov 2007 05:22:40 +0000 (-0800) Subject: [TG3]: MII => TP X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3bebab591413929c405925a8fdd98f5b0d660e39;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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;