aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.c
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2007-11-13 00:22:40 -0500
committerDavid S. Miller <davem@davemloft.net>2007-11-13 00:22:40 -0500
commit3bebab591413929c405925a8fdd98f5b0d660e39 (patch)
tree060ab53f5ce0909e8f7547a64bd3ca568edd6a57 /drivers/net/tg3.c
parentb5af7126ea7586eb8f030280c027611c42a6a9c7 (diff)
[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 <mcarlson@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tg3.c')
-rw-r--r--drivers/net/tg3.c2
1 files changed, 1 insertions, 1 deletions
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)
8329 SUPPORTED_100baseT_Full | 8329 SUPPORTED_100baseT_Full |
8330 SUPPORTED_10baseT_Half | 8330 SUPPORTED_10baseT_Half |
8331 SUPPORTED_10baseT_Full | 8331 SUPPORTED_10baseT_Full |
8332 SUPPORTED_MII); 8332 SUPPORTED_TP);
8333 cmd->port = PORT_TP; 8333 cmd->port = PORT_TP;
8334 } else { 8334 } else {
8335 cmd->supported |= SUPPORTED_FIBRE; 8335 cmd->supported |= SUPPORTED_FIBRE;