linux/drivers/net/dsa
Florian Fainelli 21a2774ef5 Revert "net: dsa: bcm_sf2: Defer port enabling to calling port_enable"
This reverts commit e85ec74ace ("net: dsa: bcm_sf2: Defer port
enabling to calling port_enable") because this now makes an unbind
followed by a bind to fail connecting to the ingrated PHY.

What this patch missed is that we need the PHY to be enabled with
bcm_sf2_gphy_enable_set() before probing it on the MDIO bus. This is
correctly done in the ops->setup() function, but by the time
ops->port_enable() runs, this is too late. Upon unbind we would power
down the PHY, and so when we would bind again, the PHY would be left
powered off.

Fixes: e85ec74ace ("net: dsa: bcm_sf2: Defer port enabling to calling port_enable")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-10-01 04:01:29 +01:00
..
b53 net: dsa: use dedicated CPU port 2017-09-21 15:15:58 -07:00
microchip net: dsa: Move FDB dump implementation inside DSA 2017-08-07 14:48:48 -07:00
mv88e6xxx net: dsa: mv88e6xxx: make irq_chip const 2017-08-20 20:02:29 -07:00
Kconfig dsa: add DSA switch driver for Microchip KSZ9477 2017-05-31 20:56:31 -04:00
Makefile dsa: add DSA switch driver for Microchip KSZ9477 2017-05-31 20:56:31 -04:00
bcm_sf2.c Revert "net: dsa: bcm_sf2: Defer port enabling to calling port_enable" 2017-10-01 04:01:29 +01:00
bcm_sf2.h net: dsa: b53: Move EEE functions to b53 2017-09-19 16:08:53 -07:00
bcm_sf2_cfp.c net: dsa: bcm_sf2: Use SF2_NUM_EGRESS_QUEUES for CFP 2017-09-19 16:08:54 -07:00
bcm_sf2_regs.h net: dsa: b53: Move EEE functions to b53 2017-09-19 16:08:53 -07:00
dsa_loop.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2017-09-05 20:03:35 -07:00
dsa_loop.h net: dsa: Mock-up driver 2017-04-01 12:39:32 -07:00
dsa_loop_bdinfo.c net: dsa: Mock-up driver 2017-04-01 12:39:32 -07:00
lan9303-core.c net: dsa: lan9303: Add adjust_link() method 2017-09-20 14:13:52 -07:00
lan9303.h net: dsa: lan9303: MDIO access phy registers directly 2017-07-30 19:23:29 -07:00
lan9303_i2c.c net: dsa: lan9303: MDIO access phy registers directly 2017-07-30 19:23:29 -07:00
lan9303_mdio.c net: dsa: lan9303: MDIO access phy registers directly 2017-07-30 19:23:29 -07:00
mt7530.c net: dsa: use dedicated CPU port 2017-09-21 15:15:58 -07:00
mt7530.h net: dsa: mediatek: add adjust link support for user ports 2017-08-08 18:01:25 -07:00
mv88e6060.c net: dsa: use dedicated CPU port 2017-09-21 15:15:58 -07:00
mv88e6060.h net: dsa: Keep the mii bus and address in the private structure 2016-04-13 18:15:23 -04:00
qca8k.c net: dsa: use dedicated CPU port 2017-09-21 15:15:58 -07:00
qca8k.h net: dsa: call phy_init_eee in DSA layer 2017-08-01 20:09:10 -07:00