summaryrefslogtreecommitdiffstats
path: root/drivers/net/atl1c/atl1c_ethtool.c
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2010-02-16 15:16:45 -0800
committerDavid S. Miller <davem@davemloft.net>2010-02-16 15:16:45 -0800
commit496c185c9495629ef1c65387cb2594578393cfe0 (patch)
tree4bf3e64ffd535328d9b5f05740d411298982cc37 /drivers/net/atl1c/atl1c_ethtool.c
parentd5aa407f59f5b83d2c50ec88f5bf56d40f1f8978 (diff)
downloadtalos-op-linux-496c185c9495629ef1c65387cb2594578393cfe0.tar.gz
talos-op-linux-496c185c9495629ef1c65387cb2594578393cfe0.zip
atl1c: Add support for Atheros AR8152 and AR8152
AR8151 is a Gigabit Ethernet device. AR8152 devices are Fast Ethernet devices, there are two revisions, a 1.0 and a 2.0 revision. This has been tested against these devices: Driver Model-name vendor:device Type atl1c AR8131 1969:1063 Gigabit Ethernet atl1c AR8132 1969:1062 Fast Ethernet atl1c AR8151(v1.0) 1969:1073 Gigabit Ethernet atl1c AR8152(v1.1) 1969:2060 Fast Ethernet This device has no hardware available yet so it goes untested, but it should work: atl1c AR8152(v2.0) 1969:2062 Fast Ethernet Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/atl1c/atl1c_ethtool.c')
-rw-r--r--drivers/net/atl1c/atl1c_ethtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/atl1c/atl1c_ethtool.c b/drivers/net/atl1c/atl1c_ethtool.c
index 9b1e0eaebb5c..61a0f2ff11e9 100644
--- a/drivers/net/atl1c/atl1c_ethtool.c
+++ b/drivers/net/atl1c/atl1c_ethtool.c
@@ -37,7 +37,7 @@ static int atl1c_get_settings(struct net_device *netdev,
SUPPORTED_100baseT_Full |
SUPPORTED_Autoneg |
SUPPORTED_TP);
- if (hw->ctrl_flags & ATL1C_LINK_CAP_1000M)
+ if (hw->link_cap_flags & ATL1C_LINK_CAP_1000M)
ecmd->supported |= SUPPORTED_1000baseT_Full;
ecmd->advertising = ADVERTISED_TP;
OpenPOWER on IntegriCloud