1
0
Fork 0
alistair23-linux/net/dsa
Vivien Didelot 57ab1ca215 net: dsa: move fixed link registration helpers
The new bindings (dsa2.c) and the old bindings (legacy.c) share two
helpers dsa_cpu_dsa_setup and dsa_cpu_dsa_destroy, used to register or
deregister a fixed PHY if a given port has a corresponding device node.

Unclutter the code by moving them into two new port.c helpers,
dsa_port_fixed_link_register_of and dsa_port_fixed_link_(un)register_of.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-10-28 18:50:12 +09:00
..
Kconfig dsa: add support for Microchip KSZ tail tagging 2017-05-31 20:56:31 -04:00
Makefile net: dsa: move master ethtool code 2017-09-19 16:04:23 -07:00
dsa.c net: dsa: move fixed link registration helpers 2017-10-28 18:50:12 +09:00
dsa2.c net: dsa: move fixed link registration helpers 2017-10-28 18:50:12 +09:00
dsa_priv.h net: dsa: move fixed link registration helpers 2017-10-28 18:50:12 +09:00
legacy.c net: dsa: move fixed link registration helpers 2017-10-28 18:50:12 +09:00
master.c net: dsa: change dsa_ptr for a dsa_port 2017-10-01 04:15:07 +01:00
port.c net: dsa: move fixed link registration helpers 2017-10-28 18:50:12 +09:00
slave.c net: dsa: Simplify dsa_slave_phy_setup() 2017-10-27 22:11:30 +09:00
switch.c net: dsa: Remove switchdev dependency from DSA switch notifier chain 2017-08-07 14:48:48 -07:00
tag_brcm.c net: dsa: rename dsa_master_get_slave 2017-10-18 12:24:33 +01:00
tag_dsa.c net: dsa: rename dsa_master_get_slave 2017-10-18 12:24:33 +01:00
tag_edsa.c net: dsa: rename dsa_master_get_slave 2017-10-18 12:24:33 +01:00
tag_ksz.c net: dsa: rename dsa_master_get_slave 2017-10-18 12:24:33 +01:00
tag_lan9303.c net: dsa: lan9303: Learn addresses on CPU port when bridged 2017-10-27 23:30:53 +09:00
tag_mtk.c net: dsa: rename dsa_master_get_slave 2017-10-18 12:24:33 +01:00
tag_qca.c net: dsa: rename dsa_master_get_slave 2017-10-18 12:24:33 +01:00
tag_trailer.c net: dsa: rename dsa_master_get_slave 2017-10-18 12:24:33 +01:00