diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-30 19:16:45 -0400 |
commit | ada47b5fe13d89735805b566185f4885f5a3f750 (patch) | |
tree | 644b88f8a71896307d71438e9b3af49126ffb22b /drivers/net/atl1c/atl1c_ethtool.c | |
parent | 43e98717ad40a4ae64545b5ba047c7b86aa44f4f (diff) | |
parent | 3280f21d43ee541f97f8cda5792150d2dbec20d5 (diff) |
Merge branch 'wip-2.6.34' into old-private-masterarchived-private-master
Diffstat (limited to 'drivers/net/atl1c/atl1c_ethtool.c')
-rw-r--r-- | drivers/net/atl1c/atl1c_ethtool.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/atl1c/atl1c_ethtool.c b/drivers/net/atl1c/atl1c_ethtool.c index 9b1e0eaebb5c..32339243d61f 100644 --- a/drivers/net/atl1c/atl1c_ethtool.c +++ b/drivers/net/atl1c/atl1c_ethtool.c | |||
@@ -22,6 +22,7 @@ | |||
22 | 22 | ||
23 | #include <linux/netdevice.h> | 23 | #include <linux/netdevice.h> |
24 | #include <linux/ethtool.h> | 24 | #include <linux/ethtool.h> |
25 | #include <linux/slab.h> | ||
25 | 26 | ||
26 | #include "atl1c.h" | 27 | #include "atl1c.h" |
27 | 28 | ||
@@ -37,7 +38,7 @@ static int atl1c_get_settings(struct net_device *netdev, | |||
37 | SUPPORTED_100baseT_Full | | 38 | SUPPORTED_100baseT_Full | |
38 | SUPPORTED_Autoneg | | 39 | SUPPORTED_Autoneg | |
39 | SUPPORTED_TP); | 40 | SUPPORTED_TP); |
40 | if (hw->ctrl_flags & ATL1C_LINK_CAP_1000M) | 41 | if (hw->link_cap_flags & ATL1C_LINK_CAP_1000M) |
41 | ecmd->supported |= SUPPORTED_1000baseT_Full; | 42 | ecmd->supported |= SUPPORTED_1000baseT_Full; |
42 | 43 | ||
43 | ecmd->advertising = ADVERTISED_TP; | 44 | ecmd->advertising = ADVERTISED_TP; |