]> 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)
commit5ece5786c868035213df4deab7bd7cd11b20b17f
tree876e8efd861f3ac602272aa4cdbcc4d4922d735b
parent2045cd6a963ecd8237097d94f767428ac648d55b
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