aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-09-19 18:36:43 -0400
committerJeff Garzik <jeff@garzik.org>2007-09-20 15:23:00 -0400
commitc99210b50fe741026d86fdcb5f3f5a0c00c503cc (patch)
tree224a572fde2d105c99be21af0cfafa725747659c /drivers
parentd6532232cd3de79c852685823a9c52f723816d0a (diff)
sky2: ethtool speed report bug
On 100mbit versions, the driver always reports gigabit speed available. The correct modes are already computed, then overwritten. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/sky2.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c
index 8b1565453f08..94552cc4c462 100644
--- a/drivers/net/sky2.c
+++ b/drivers/net/sky2.c
@@ -2841,13 +2841,6 @@ static int sky2_get_settings(struct net_device *dev, struct ethtool_cmd *ecmd)
2841 ecmd->supported = sky2_supported_modes(hw); 2841 ecmd->supported = sky2_supported_modes(hw);
2842 ecmd->phy_address = PHY_ADDR_MARV; 2842 ecmd->phy_address = PHY_ADDR_MARV;
2843 if (sky2_is_copper(hw)) { 2843 if (sky2_is_copper(hw)) {
2844 ecmd->supported = SUPPORTED_10baseT_Half
2845 | SUPPORTED_10baseT_Full
2846 | SUPPORTED_100baseT_Half
2847 | SUPPORTED_100baseT_Full
2848 | SUPPORTED_1000baseT_Half
2849 | SUPPORTED_1000baseT_Full
2850 | SUPPORTED_Autoneg | SUPPORTED_TP;
2851 ecmd->port = PORT_TP; 2844 ecmd->port = PORT_TP;
2852 ecmd->speed = sky2->speed; 2845 ecmd->speed = sky2->speed;
2853 } else { 2846 } else {