diff options
author | David S. Miller <davem@davemloft.net> | 2017-11-05 16:31:39 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-05 16:31:39 +0300 |
commit | 6c49b5e26004eef86e7a47093a53be290554351c (patch) | |
tree | e595964139c83a0e7cabfb32ac8f85e1766f2bf9 /include/linux/capability.h | |
parent | 952484610cc2f67303be4feedb0e52a519c31470 (diff) | |
parent | 7354fcb0a3a3a5518107f8de117a6ce5ce08cc7c (diff) | |
download | linux-6c49b5e26004eef86e7a47093a53be290554351c.tar.xz |
Merge branch 'dsa-parsing-stage'
Vivien Didelot says:
====================
net: dsa: parsing stage
When registering a DSA switch, there is basically two stages.
The first stage is the parsing of the switch device, from either device
tree or platform data. It fetches the DSA tree to which it belongs, and
validates its ports. The switch device is then added to the tree, and
the second stage is called if this was the last switch of the tree.
The second stage is the setup of the tree, which validates that the tree
is complete, sets up the routing tables, the default CPU port for user
ports, sets up the switch drivers and finally the master interfaces,
which makes the whole switch fabric functional.
This patch series covers the first parsing stage. It fixes the type of
the switch and tree indexes to unsigned int, simplifies the tree
reference counting and the switch and CPU ports parsing.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/capability.h')
0 files changed, 0 insertions, 0 deletions