kernel_optimize_test/net/dsa
Vivien Didelot 7ec764eef9 net: dsa: use cpu_dp in master code
Make it clear that the master device is linked to a CPU port by using
"cpu_dp" for the dsa_port variable in master.c instead of "port", then
use a "port" variable to describe the port index, as usually seen in
other places of DSA core.

This will make the future patch touching dsa_ptr more readable. There is
no functional changes.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-10-01 04:15:07 +01:00
..
dsa_priv.h net: dsa: add master helper to look up slaves 2017-10-01 04:15:07 +01:00
dsa.c net: dsa: move master ethtool code 2017-09-19 16:04:23 -07:00
dsa2.c net: dsa: move master ethtool code 2017-09-19 16:04:23 -07:00
Kconfig dsa: add support for Microchip KSZ tail tagging 2017-05-31 20:56:31 -04:00
legacy.c net: dsa: move master ethtool code 2017-09-19 16:04:23 -07:00
Makefile net: dsa: move master ethtool code 2017-09-19 16:04:23 -07:00
master.c net: dsa: use cpu_dp in master code 2017-10-01 04:15:07 +01:00
port.c net: dsa: add port enable and disable helpers 2017-09-25 20:22:46 -07:00
slave.c net: dsa: use phy_ethtool_nway_reset 2017-09-26 20:06:34 -07: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: add master helper to look up slaves 2017-10-01 04:15:07 +01:00
tag_dsa.c net: dsa: add master helper to look up slaves 2017-10-01 04:15:07 +01:00
tag_edsa.c net: dsa: add master helper to look up slaves 2017-10-01 04:15:07 +01:00
tag_ksz.c net: dsa: add master helper to look up slaves 2017-10-01 04:15:07 +01:00
tag_lan9303.c net: dsa: add master helper to look up slaves 2017-10-01 04:15:07 +01:00
tag_mtk.c net: dsa: add master helper to look up slaves 2017-10-01 04:15:07 +01:00
tag_qca.c net: dsa: add master helper to look up slaves 2017-10-01 04:15:07 +01:00
tag_trailer.c net: dsa: add master helper to look up slaves 2017-10-01 04:15:07 +01:00