Commit 958d58bb authored by Martin Habets's avatar Martin Habets Committed by David S. Miller

sfc: Remove EFX_REV_SIENA_A0

The workarounds for bug 8568 and 17213 are no longer needed.
Signed-off-by: default avatarMartin Habets <habetsm.xilinx@gmail.com>
Acked-by: default avatarEdward Cree <ecree.xilinx@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f294c1f7
...@@ -15,11 +15,10 @@ ...@@ -15,11 +15,10 @@
#include "ptp.h" #include "ptp.h"
enum { enum {
/* Revisions 0-2 were Falcon A0, A1 and B0 respectively. /* Revisions 0-3 were Falcon A0, A1, B0 and Siena respectively.
* They are not supported by this driver but these revision numbers * They are not supported by this driver but these revision numbers
* form part of the ethtool API for register dumping. * form part of the ethtool API for register dumping.
*/ */
EFX_REV_SIENA_A0 = 3,
EFX_REV_HUNT_A0 = 4, EFX_REV_HUNT_A0 = 4,
EFX_REV_EF100 = 5, EFX_REV_EF100 = 5,
}; };
......
...@@ -12,14 +12,7 @@ ...@@ -12,14 +12,7 @@
* Bug numbers are from Solarflare's Bugzilla. * Bug numbers are from Solarflare's Bugzilla.
*/ */
#define EFX_WORKAROUND_SIENA(efx) (efx_nic_rev(efx) == EFX_REV_SIENA_A0)
#define EFX_WORKAROUND_EF10(efx) (efx_nic_rev(efx) >= EFX_REV_HUNT_A0) #define EFX_WORKAROUND_EF10(efx) (efx_nic_rev(efx) >= EFX_REV_HUNT_A0)
#define EFX_WORKAROUND_10G(efx) 1
/* Bit-bashed I2C reads cause performance drop */
#define EFX_WORKAROUND_7884 EFX_WORKAROUND_10G
/* Legacy interrupt storm when interrupt fifo fills */
#define EFX_WORKAROUND_17213 EFX_WORKAROUND_SIENA
/* Lockup when writing event block registers at gen2/gen3 */ /* Lockup when writing event block registers at gen2/gen3 */
#define EFX_EF10_WORKAROUND_35388(efx) \ #define EFX_EF10_WORKAROUND_35388(efx) \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment