remarkable-linux/net/dsa
Vivien Didelot 26895e299c net: dsa: use ds->num_ports when possible
The dsa_switch structure contains the number of ports. Use it where the
structure is valid instead of the DSA_MAX_PORTS value.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-01-29 18:42:46 -05:00
..
dsa.c net: dsa: use ds->num_ports when possible 2017-01-29 18:42:46 -05:00
dsa2.c net: dsa: use ds->num_ports when possible 2017-01-29 18:42:46 -05:00
dsa_priv.h net: dsa: Make most functions take a dsa_port argument 2017-01-26 15:43:53 -05:00
Kconfig net: dsa: Remove hwmon support 2017-01-20 14:42:51 -05:00
Makefile net: dsa: Remove hwmon support 2017-01-20 14:42:51 -05:00
slave.c net: dsa: use ds->num_ports when possible 2017-01-29 18:42:46 -05:00
tag_brcm.c net: dsa: use ds->num_ports when possible 2017-01-29 18:42:46 -05:00
tag_dsa.c net: dsa: use ds->num_ports when possible 2017-01-29 18:42:46 -05:00
tag_edsa.c net: dsa: use ds->num_ports when possible 2017-01-29 18:42:46 -05:00
tag_qca.c net: dsa: use cpu_switch instead of ds[0] 2017-01-18 16:49:47 -05:00
tag_trailer.c net: dsa: use ds->num_ports when possible 2017-01-29 18:42:46 -05:00