diff options
| author | Paul Greenwalt <[email protected]> | 2020-07-09 16:16:10 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2020-07-23 22:29:46 +0000 |
| commit | 5ee30564c85c94b7dc78aa6cce09e9712b2ad70d (patch) | |
| tree | 33cece1e3ca994420af10ce11b8cd2668163cf48 /drivers/net/ethernet/intel/ice/ice_common.h | |
| parent | ice: add ice_aq_get_phy_caps() debug logs (diff) | |
| download | kernel-5ee30564c85c94b7dc78aa6cce09e9712b2ad70d.tar.gz kernel-5ee30564c85c94b7dc78aa6cce09e9712b2ad70d.zip | |
ice: update reporting of autoneg capabilities
Firmware now reports AN28, AN32, and AN73. Add a helper and check these new
values and report PHY autoneg capability.
Signed-off-by: Paul Greenwalt <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_common.h')
| -rw-r--r-- | drivers/net/ethernet/intel/ice/ice_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_common.h b/drivers/net/ethernet/intel/ice/ice_common.h index 1b8b02bb4399..33a681a75439 100644 --- a/drivers/net/ethernet/intel/ice/ice_common.h +++ b/drivers/net/ethernet/intel/ice/ice_common.h @@ -104,6 +104,7 @@ bool ice_fw_supports_link_override(struct ice_hw *hw); enum ice_status ice_get_link_default_override(struct ice_link_default_override_tlv *ldo, struct ice_port_info *pi); +bool ice_is_phy_caps_an_enabled(struct ice_aqc_get_phy_caps_data *caps); enum ice_fc_mode ice_caps_to_fc_mode(u8 caps); enum ice_fec_mode ice_caps_to_fec_mode(u8 caps, u8 fec_options); |
