sfc: SFX7101/SFT9001: Fix AN advertisements
All 10Xpress PHYs require autonegotiation all the time; enforce this in the set_settings() method and do not treat it as a workaround. Remove claimed support for 100M HD mode since it is not supported by current firmware. Do not set speed override bits when AN is enabled, and do not use register 1.49192 for AN configuration as it can override what we set elsewhere. Always set the AN selector bits to 1 (802.3). Fix confusion between Next Page and Extended Next Page. 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
c9d5a53f06
commit
af4ad9bca0
@@ -18,7 +18,6 @@
|
||||
#define EFX_WORKAROUND_ALWAYS(efx) 1
|
||||
#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)
|
||||
|
||||
@@ -55,9 +54,6 @@
|
||||
|
||||
/* Need to send XNP pages for 100BaseT */
|
||||
#define EFX_WORKAROUND_13204 EFX_WORKAROUND_SFT9001
|
||||
/* 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
|
||||
|
||||
|
Reference in New Issue
Block a user