diff options
author | Dmitry Bogdanov <dbogdanov@marvell.com> | 2020-06-22 17:53:08 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-22 21:10:22 -0700 |
commit | 2b53b04de3b185ada35155e668a24a68f6a753ba (patch) | |
tree | 4b34d19af11e736dd8ffca5a7001bec7e0437df7 /drivers/net/ethernet/aquantia/atlantic/aq_hw.h | |
parent | 3e168de529b14edd13c6842ff7bd415f25672db8 (diff) | |
download | linux-stable-2b53b04de3b185ada35155e668a24a68f6a753ba.tar.gz linux-stable-2b53b04de3b185ada35155e668a24a68f6a753ba.tar.bz2 linux-stable-2b53b04de3b185ada35155e668a24a68f6a753ba.zip |
net: atlantic: A2: report link partner capabilities
This patch adds link partner capabilities reporting support on A2.
In particular, the following capabilities are available for reporting:
* link rate;
* EEE;
* flow control.
Signed-off-by: Dmitry Bogdanov <dbogdanov@marvell.com>
Signed-off-by: Mark Starovoytov <mstarovoitov@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/aquantia/atlantic/aq_hw.h')
-rw-r--r-- | drivers/net/ethernet/aquantia/atlantic/aq_hw.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/aquantia/atlantic/aq_hw.h b/drivers/net/ethernet/aquantia/atlantic/aq_hw.h index 1408a522eff1..f2663ad22209 100644 --- a/drivers/net/ethernet/aquantia/atlantic/aq_hw.h +++ b/drivers/net/ethernet/aquantia/atlantic/aq_hw.h @@ -71,6 +71,8 @@ struct aq_hw_caps_s { struct aq_hw_link_status_s { unsigned int mbps; bool full_duplex; + u32 lp_link_speed_msk; + u32 lp_flow_control; }; struct aq_stats_s { |