]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: Add new binding implementation
authorAndrew Lunn <andrew@lunn.ch>
Sat, 4 Jun 2016 19:17:07 +0000 (21:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Jun 2016 21:29:55 +0000 (14:29 -0700)
commite292a926e6fa3173499494b3737e1395029871b8
tree5d675d5517efb9532cb4154ae982a3d3ecb2798e
parent0eb13d9ed86c846a8ab7a969ad35af89f425e35e
net: dsa: Add new binding implementation

The existing DSA binding has a number of limitations and problems. The
main problem is that it cannot represent a switch as a linux device,
hanging off some bus. It is limited to one CPU port. The DSA platform
device is artificial, and does not really represent hardware.

Implement a new binding which can be embedded into any type of node on
a bus to represent one switch device, and its links to other switches.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx.c
include/net/dsa.h
net/dsa/Makefile
net/dsa/dsa.c
net/dsa/dsa2.c [new file with mode: 0644]
net/dsa/dsa_priv.h
net/dsa/slave.c