]> git.baikalelectronics.ru Git - kernel.git/commit
dsa: add device tree bindings to register DSA switches
authorFlorian Fainelli <florian@openwrt.org>
Fri, 22 Mar 2013 10:50:50 +0000 (10:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Mar 2013 21:16:30 +0000 (17:16 -0400)
commitfab19bfb3f33ad38b96a023e5d9f157c1b1d3a88
tree876e8efd861f3ac602272aa4cdbcc4d4922d735b
parenta8940a46652686dabbd26766a1fc9d45edb042bd
dsa: add device tree bindings to register DSA switches

This patch adds support for registering DSA switches using Device Tree
bindings. Note that we support programming the switch routing table even
though no in-tree user seems to require it. I tested this on Armada 370
with a Marvell 88E6172 (not supported by mainline yet).

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Documentation/devicetree/bindings/net/dsa/dsa.txt [new file with mode: 0644]
net/dsa/dsa.c