linux-hardened/drivers/net/dsa/mv88e6xxx
Vivien Didelot a0c02161ec net: dsa: variable number of ports
Change the ports[DSA_MAX_PORTS] array of the dsa_switch structure for a
zero-length array, allocated at the same time as the dsa_switch
structure itself. A dsa_switch_alloc() helper is provided for that.

This commit brings no functional change yet since we pass DSA_MAX_PORTS
as the number of ports for the moment. Future patches can update the DSA
drivers separately to support dynamic number of ports.

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
..
chip.c net: dsa: variable number of ports 2017-01-29 18:42:46 -05:00
global1.c net: dsa: mv88e6xxx: add PPU operations 2016-12-06 11:32:28 -05:00
global1.h net: dsa: mv88e6xxx: add PPU operations 2016-12-06 11:32:28 -05:00
global2.c net: dsa: mv88e6xxx: Implement the 6390 external MDIO bus 2017-01-24 15:33:51 -05:00
global2.h net: dsa: mv88e6xxx: Pass mii_bus to all PHY operations 2017-01-24 15:33:50 -05:00
Kconfig net: dsa: mv88e6xxx: Select IRQ_DOMAIN 2016-11-18 13:54:22 -05:00
Makefile net: dsa: mv88e6xxx: add port files 2016-11-04 14:39:58 -04:00
mv88e6xxx.h net: dsa: mv88e6xxx: Implement the 6390 external MDIO bus 2017-01-24 15:33:51 -05:00
port.c net: dsa: mv88e6xxx: Implement mv88e6390 pause control 2016-12-03 23:18:39 -05:00
port.h net: dsa: mv88e6xxx: Implement mv88e6390 pause control 2016-12-03 23:18:39 -05:00