[Intel-wired-lan] [PATCH 15/16] ice: Align ice_reset_req enum values to hardware reset values
Bowers, AndrewX
andrewx.bowers at intel.com
Wed Sep 26 17:01:21 UTC 2018
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Anirudh Venkataramanan
> Sent: Wednesday, September 19, 2018 5:23 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH 15/16] ice: Align ice_reset_req enum
> values to hardware reset values
>
> From: Brett Creeley <brett.creeley at intel.com>
>
> Currently the ice_reset_req enum values have to be translated into a
> different set of values that the hardware understands for the same reset
> types. Avoid this translation by aligning ice_reset_req enum values to the
> ones that the hardware understands.
>
> Also add and else if block to check for ICE_RESET_EMPR and put a dev_dbg
> message in the else case.
>
> Signed-off-by: Brett Creeley <brett.creeley at intel.com>
> Signed-off-by: Anirudh Venkataramanan
> <anirudh.venkataramanan at intel.com>
> ---
> [Anirudh Venkataramanan <anirudh.venkataramanan at intel.com> rewrote
> commit message]
> ---
> drivers/net/ethernet/intel/ice/ice_main.c | 5 ++++-
> drivers/net/ethernet/intel/ice/ice_type.h | 14 ++++++++++----
> 2 files changed, 14 insertions(+), 5 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list