]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'dsa-multi-chip-prep'
authorDavid S. Miller <davem@davemloft.net>
Sun, 29 Jan 2017 23:42:47 +0000 (18:42 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sun, 29 Jan 2017 23:42:47 +0000 (18:42 -0500)
commitbc98c9378e38759e11310232c0d218d95f35ecdd
tree28d1ab92fd28edc6d9a2232e2e17b64660b87046
parent61dc6ae066d60e2c1423d84a55c7b7a7e1fb6c2a
parentff36f02e8fe43c8a4edd099c7a0b729aadb72ddc
Merge branch 'dsa-multi-chip-prep'

Vivien Didelot says:

====================
net: dsa: preparatory patches for multi-chip

In order to introduce support for multi-chip configuration, we need to
do a few enhancements. This patchset makes the number of ports in a
switch dynamic (instead of capping to DSA_MAX_PORTS), stores the switch
and index of a port in the dsa_port structure, uses it in the slave
private structure, and exposes the bridge device a port belongs to.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>