sfc: SFT9001: Fix speed reporting in 1G PHY loopback
Instead of disabling AN in loopback, just prevent restarting AN and override the speed in sft9001_get_settings(). Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
2d18835d65
commit
8b9dc8dd44
@@ -19,6 +19,8 @@
|
||||
#define EFX_WORKAROUND_FALCON_A(efx) (falcon_rev(efx) <= FALCON_REV_A1)
|
||||
#define EFX_WORKAROUND_10G(efx) EFX_IS10G(efx)
|
||||
#define EFX_WORKAROUND_SFT9001A(efx) ((efx)->phy_type == PHY_TYPE_SFT9001A)
|
||||
#define EFX_WORKAROUND_SFT9001(efx) ((efx)->phy_type == PHY_TYPE_SFT9001A || \
|
||||
(efx)->phy_type == PHY_TYPE_SFT9001B)
|
||||
|
||||
/* XAUI resets if link not detected */
|
||||
#define EFX_WORKAROUND_5147 EFX_WORKAROUND_ALWAYS
|
||||
@@ -56,4 +58,7 @@
|
||||
/* Need to keep AN enabled */
|
||||
#define EFX_WORKAROUND_13963 EFX_WORKAROUND_SFT9001A
|
||||
|
||||
/* Don't restart AN in near-side loopback */
|
||||
#define EFX_WORKAROUND_15195 EFX_WORKAROUND_SFT9001
|
||||
|
||||
#endif /* EFX_WORKAROUNDS_H */
|
||||
|
Reference in New Issue
Block a user