linux/drivers/net/dsa
Florian Fainelli c0fb099370 net: dsa: bcm_sf2: Do not override speed settings
[ Upstream commit d2eac98f7d ]

The SF2 driver currently overrides speed settings for its port
configured using a fixed PHY, this is both unnecessary and incorrect,
because we keep feedback to the hardware parameters that we read from
the PHY device, which in the case of a fixed PHY cannot possibly change
speed.

This is a required change to allow the fixed PHY code to allow
registering a PHY with a link configured as DOWN by default and avoid
some sort of circular dependency where we require the link_update
callback to run to program the hardware, and we then utilize the fixed
PHY parameters to program the hardware with the same settings.

Fixes: 246d7f773c ("net: dsa: add Broadcom SF2 switch driver")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
History 2015-10-27 09:33:11 -04:00
..
bcm_sf2.c net: dsa: bcm_sf2: Do not override speed settings 2015-10-27 09:33:11 -04:00
bcm_sf2.h net: dsa: bcm_sf2: Fix 64-bits register writes 2015-10-27 09:33:10 -04:00
bcm_sf2_regs.h net: dsa: bcm_sf2: add support for controlling EEE 2014-09-28 17:14:09 -04:00
Kconfig drivers/net/dsa/Kconfig: Let NET_DSA_BCM_SF2 depend on HAS_IOMEM 2014-10-03 15:52:04 -07:00
Makefile net: DSA: Marvell mv88e6171 switch driver 2014-09-13 17:26:47 -04:00
mv88e6xxx.c dsa: Fix conversion from host device to mii bus 2014-10-17 23:52:08 -04:00
mv88e6xxx.h net: DSA: Marvell mv88e6171 switch driver 2014-09-13 17:26:47 -04:00
mv88e6060.c dsa: Fix conversion from host device to mii bus 2014-10-17 23:52:08 -04:00
mv88e6123_61_65.c dsa: Replace mii_bus with a generic host device 2014-09-15 17:24:20 -04:00
mv88e6131.c dsa: Replace mii_bus with a generic host device 2014-09-15 17:24:20 -04:00
mv88e6171.c dsa: mv88e6171: Fix tagging protocol/Kconfig 2014-10-28 15:27:54 -04:00