Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sfc: Remove EFX_REV_SIENA_A0

The workarounds for bug 8568 and 17213 are no longer needed.

Signed-off-by: Martin Habets <habetsm.xilinx@gmail.com>
Acked-by: Edward Cree <ecree.xilinx@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Martin Habets and committed by
David S. Miller
958d58bb f294c1f7

+1 -9
+1 -2
drivers/net/ethernet/sfc/nic_common.h
··· 15 15 #include "ptp.h" 16 16 17 17 enum { 18 - /* Revisions 0-2 were Falcon A0, A1 and B0 respectively. 18 + /* Revisions 0-3 were Falcon A0, A1, B0 and Siena respectively. 19 19 * They are not supported by this driver but these revision numbers 20 20 * form part of the ethtool API for register dumping. 21 21 */ 22 - EFX_REV_SIENA_A0 = 3, 23 22 EFX_REV_HUNT_A0 = 4, 24 23 EFX_REV_EF100 = 5, 25 24 };
-7
drivers/net/ethernet/sfc/workarounds.h
··· 12 12 * Bug numbers are from Solarflare's Bugzilla. 13 13 */ 14 14 15 - #define EFX_WORKAROUND_SIENA(efx) (efx_nic_rev(efx) == EFX_REV_SIENA_A0) 16 15 #define EFX_WORKAROUND_EF10(efx) (efx_nic_rev(efx) >= EFX_REV_HUNT_A0) 17 - #define EFX_WORKAROUND_10G(efx) 1 18 - 19 - /* Bit-bashed I2C reads cause performance drop */ 20 - #define EFX_WORKAROUND_7884 EFX_WORKAROUND_10G 21 - /* Legacy interrupt storm when interrupt fifo fills */ 22 - #define EFX_WORKAROUND_17213 EFX_WORKAROUND_SIENA 23 16 24 17 /* Lockup when writing event block registers at gen2/gen3 */ 25 18 #define EFX_EF10_WORKAROUND_35388(efx) \