openwrtv4/target/linux/generic/files/drivers/net/phy/b53
David Bauer 6680fab947 kernel: b53: register switch on probe
Currently, the b53 MDIO switch driver registers the switch on
config-init and not on device probe. Because of this, the switch
gets added every time the associated interface comes up.

This commit fixes this behavior by registering the switch on device
probe.

Compile- and run-tested on OCEDO Koala.

Signed-off-by: David Bauer <mail@david-bauer.net>
2018-11-23 21:45:51 +00:00
..
b53_common.c kernel: generic: Add kernel 4.14 support 2017-12-16 22:11:19 +01:00
b53_mdio.c kernel: b53: register switch on probe 2018-11-23 21:45:51 +00:00
b53_mmap.c b53: clean up code to match kernel style better 2015-04-10 10:29:04 +00:00
b53_phy_fixup.c kernel: port b53 to use kernel 4.5+ API 2017-02-06 11:28:54 +01:00
b53_priv.h kernel: b53: fix compilation on BCM47XX 2018-03-21 10:54:14 +01:00
b53_regs.h b53: update header register difinitions 2016-01-18 10:46:47 +00:00
b53_spi.c b53: allow configuration through device tree 2017-06-10 12:40:38 +02:00
b53_srab.c b53: clean up code to match kernel style better 2015-04-10 10:29:04 +00:00
Kconfig kernel: rename B53 symbols to avoid upstream kernel conflict 2016-06-20 08:00:14 +02:00
Makefile kernel: rename B53 symbols to avoid upstream kernel conflict 2016-06-20 08:00:14 +02:00