atlantic: Fix statistics logic for production hardware
commit 2087ced0 upstream. B0 is the main and widespread device revision of atlantic2 HW. In the current state, driver will incorrectly fetch the statistics for this revision. Fixes: 5cfd54d7 ("net: atlantic: minimal A2 fw_ops") Signed-off-by:Dmitry Bogdanov <dbezrukov@marvell.com> Signed-off-by:
Sudarsana Reddy Kalluru <skalluru@marvell.com> Signed-off-by:
Igor Russkikh <irusskikh@marvell.com> Signed-off-by:
David S. Miller <davem@davemloft.net> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
- drivers/net/ethernet/aquantia/atlantic/aq_hw.h 2 additions, 0 deletionsdrivers/net/ethernet/aquantia/atlantic/aq_hw.h
- drivers/net/ethernet/aquantia/atlantic/aq_nic.c 8 additions, 2 deletionsdrivers/net/ethernet/aquantia/atlantic/aq_nic.c
- drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c 13 additions, 2 deletionsdrivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.c
- drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils.h 34 additions, 4 deletions...rs/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils.h
- drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c 82 additions, 19 deletions...net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_utils_fw.c
Loading
Please register or sign in to comment