]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'dsa-setup-stage'
authorDavid S. Miller <davem@davemloft.net>
Thu, 9 Nov 2017 00:26:50 +0000 (09:26 +0900)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Nov 2017 00:26:50 +0000 (09:26 +0900)
commitdb23fd421c8fb9e78e46995d825e88796c61b389
tree4595fb0d4562f8344212e3f0c2842d5ab8a63cfb
parent24f4f7aa2ab58713b5c3f90808f010b22122887e
parent684a8782e351792ba4c4e76f24af87b1b490a081
Merge branch 'dsa-setup-stage'

Vivien Didelot says:

====================
net: dsa: setup stage

When probing 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 second setup stage. The setup and teardown
of a switch tree have been separated into logical steps, and the probing
of a switch now simply parses and adds a switch to a tree.
====================

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