This series implements phy tunables settings via MAC driver callbacks. AQC 10G devices use integrated MAC+PHY solution, where PHY is fully controlled by MAC firmware. Therefore, it is not possible to implement separate phy driver for these.
We use ethtool ops callbacks to implement downshift and EDPC tunables. v3: fixed flaw in EDPD logic, from Andrew v2: comments from Andrew Igor Russkikh (3): ethtool: allow netdev driver to define phy tunables net: atlantic: implement phy downshift feature net: atlantic: implement media detect feature via phy tunables .../ethernet/aquantia/atlantic/aq_ethtool.c | 53 +++++++++++++++++++ .../net/ethernet/aquantia/atlantic/aq_hw.h | 6 +++ .../net/ethernet/aquantia/atlantic/aq_nic.c | 50 +++++++++++++++++ .../net/ethernet/aquantia/atlantic/aq_nic.h | 4 ++ .../atlantic/hw_atl/hw_atl_utils_fw2x.c | 37 +++++++++++++ .../atlantic/hw_atl2/hw_atl2_utils_fw.c | 13 +++++ include/linux/ethtool.h | 4 ++ net/ethtool/ioctl.c | 37 ++++++++----- 8 files changed, 191 insertions(+), 13 deletions(-) -- 2.17.1