diff options
Diffstat (limited to 'drivers/net/sfc/workarounds.h')
-rw-r--r-- | drivers/net/sfc/workarounds.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/sfc/workarounds.h b/drivers/net/sfc/workarounds.h index 797a0cf7cd6..420fe153ea2 100644 --- a/drivers/net/sfc/workarounds.h +++ b/drivers/net/sfc/workarounds.h | |||
@@ -19,6 +19,8 @@ | |||
19 | #define EFX_WORKAROUND_FALCON_A(efx) (falcon_rev(efx) <= FALCON_REV_A1) | 19 | #define EFX_WORKAROUND_FALCON_A(efx) (falcon_rev(efx) <= FALCON_REV_A1) |
20 | #define EFX_WORKAROUND_10G(efx) EFX_IS10G(efx) | 20 | #define EFX_WORKAROUND_10G(efx) EFX_IS10G(efx) |
21 | #define EFX_WORKAROUND_SFT9001A(efx) ((efx)->phy_type == PHY_TYPE_SFT9001A) | 21 | #define EFX_WORKAROUND_SFT9001A(efx) ((efx)->phy_type == PHY_TYPE_SFT9001A) |
22 | #define EFX_WORKAROUND_SFT9001(efx) ((efx)->phy_type == PHY_TYPE_SFT9001A || \ | ||
23 | (efx)->phy_type == PHY_TYPE_SFT9001B) | ||
22 | 24 | ||
23 | /* XAUI resets if link not detected */ | 25 | /* XAUI resets if link not detected */ |
24 | #define EFX_WORKAROUND_5147 EFX_WORKAROUND_ALWAYS | 26 | #define EFX_WORKAROUND_5147 EFX_WORKAROUND_ALWAYS |
@@ -56,4 +58,7 @@ | |||
56 | /* Need to keep AN enabled */ | 58 | /* Need to keep AN enabled */ |
57 | #define EFX_WORKAROUND_13963 EFX_WORKAROUND_SFT9001A | 59 | #define EFX_WORKAROUND_13963 EFX_WORKAROUND_SFT9001A |
58 | 60 | ||
61 | /* Don't restart AN in near-side loopback */ | ||
62 | #define EFX_WORKAROUND_15195 EFX_WORKAROUND_SFT9001 | ||
63 | |||
59 | #endif /* EFX_WORKAROUNDS_H */ | 64 | #endif /* EFX_WORKAROUNDS_H */ |