[TG3]: MII => TP
authorMatt Carlson <mcarlson@broadcom.com>
Tue, 13 Nov 2007 05:22:40 +0000 (21:22 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Nov 2007 05:22:40 +0000 (21:22 -0800)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c

index 8e76092a171ec2fc6396f1a889e8f83f06f32254..8d518cc85ad8560b187b49a64eeb7590ad69c05c 100644 (file)
@@ -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;