mirror of
https://github.com/torvalds/linux.git
synced 2024-12-14 23:25:54 +00:00
Revert "net: dsa: bcm_sf2: Also configure Port 5 for 2Gb/sec on 7278"
This reverts commit7458bd540f
("net: dsa: bcm_sf2: Also configure Port 5 for 2Gb/sec on 7278") as it causes advanced congestion buffering issues with 7278 switch devices when using their internal Giabit PHY. While this is being debugged, continue with conservative defaults that work and do not cause packet loss. Fixes:7458bd540f
("net: dsa: bcm_sf2: Also configure Port 5 for 2Gb/sec on 7278") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Reviewed-by: Vivien Didelot <vivien.didelot@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
bb0858d8bc
commit
3f02735e5d
@ -616,9 +616,6 @@ force_link:
|
||||
if (state->duplex == DUPLEX_FULL)
|
||||
reg |= DUPLX_MODE;
|
||||
|
||||
if (priv->type == BCM7278_DEVICE_ID && dsa_is_cpu_port(ds, port))
|
||||
reg |= GMIIP_SPEED_UP_2G;
|
||||
|
||||
core_writel(priv, reg, offset);
|
||||
}
|
||||
|
||||
|
@ -178,7 +178,6 @@ enum bcm_sf2_reg_offs {
|
||||
#define RXFLOW_CNTL (1 << 4)
|
||||
#define TXFLOW_CNTL (1 << 5)
|
||||
#define SW_OVERRIDE (1 << 6)
|
||||
#define GMIIP_SPEED_UP_2G (1 << 7)
|
||||
|
||||
#define CORE_WATCHDOG_CTRL 0x001e4
|
||||
#define SOFTWARE_RESET (1 << 7)
|
||||
|
Loading…
Reference in New Issue
Block a user