net/ice/base: cleanup hardware register macros
Cleanup hardware registers macros in ice_auto_generator.h. Fixes: 51c7f09f3f81 ("net/ice/base: add registers for Intel E800 Series NIC") Cc: stable@dpdk.org Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com> Signed-off-by: Qi Zhang <qi.z.zhang@intel.com> Acked-by: Qiming Yang <qiming.yang@intel.com>
This commit is contained in:
parent
5c5331775d
commit
06210a430c
@ -1019,9 +1019,6 @@ enum ice_status ice_check_reset(struct ice_hw *hw)
|
||||
* or EMPR has occurred. The grst delay value is in 100ms units.
|
||||
* Add 1sec for outstanding AQ commands that can take a long time.
|
||||
*/
|
||||
#define GLGEN_RSTCTL 0x000B8180 /* Reset Source: POR */
|
||||
#define GLGEN_RSTCTL_GRSTDEL_S 0
|
||||
#define GLGEN_RSTCTL_GRSTDEL_M MAKEMASK(0x3F, GLGEN_RSTCTL_GRSTDEL_S)
|
||||
grst_delay = ((rd32(hw, GLGEN_RSTCTL) & GLGEN_RSTCTL_GRSTDEL_M) >>
|
||||
GLGEN_RSTCTL_GRSTDEL_S) + 10;
|
||||
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user