]> Pileus Git - ~andy/linux/blobdiff - drivers/net/atl1c/atl1c_ethtool.c
atl1c: Add support for Atheros AR8152 and AR8152
[~andy/linux] / drivers / net / atl1c / atl1c_ethtool.c
index 9b1e0eaebb5ccd41751538031f2f0e4b485baccf..61a0f2ff11e98437057711aebafea9797a22a93f 100644 (file)
@@ -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;