linux_dsm_epyc7002/drivers/net/dsa/b53
Vivien Didelot 8b0d3ea555 net: dsa: store CPU port pointer in the tree
A dsa_switch_tree instance holds a dsa_switch pointer and a port index
to identify the switch port to which the CPU is attached.

Now that the DSA layer has a dsa_port structure to hold this data, use
it to point the switch CPU port.

This patch simply substitutes s/dst->cpu_switch/dst->cpu_dp->ds/ and
s/dst->cpu_port/dst->cpu_dp->index/.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-05-17 14:19:12 -04:00
..
b53_common.c net: dsa: store CPU port pointer in the tree 2017-05-17 14:19:12 -04:00
b53_mdio.c net: dsa: b53: Utilize mdio_module_driver 2017-01-24 13:37:51 -05:00
b53_mmap.c net: dsa: b53: Fix module autoload 2016-10-17 13:03:03 -04:00
b53_priv.h net: dsa: b53: Add support for port mirroring 2017-01-30 15:55:47 -05:00
b53_regs.h net: dsa: b53: Implement software reset for 58xx devices 2017-04-24 18:28:56 -04:00
b53_spi.c net: dsa: b53: remove .owner and .bus fields for driver 2016-08-14 21:24:25 -07:00
b53_srab.c net: dsa: b53: constify b53_io_ops structures 2016-08-09 15:09:40 -07:00
Kconfig net: dsa: b53: Add support for Broadcom RoboSwitch 2016-06-09 22:21:29 -07:00
Makefile net: dsa: b53: Add support for Broadcom RoboSwitch 2016-06-09 22:21:29 -07:00