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>
Showing
- drivers/net/dsa/mv88e6xxx.c 7 additions, 0 deletionsdrivers/net/dsa/mv88e6xxx.c
- include/net/dsa.h 20 additions, 0 deletionsinclude/net/dsa.h
- net/dsa/Makefile 1 addition, 1 deletionnet/dsa/Makefile
- net/dsa/dsa.c 5 additions, 0 deletionsnet/dsa/dsa.c
- net/dsa/dsa2.c 654 additions, 0 deletionsnet/dsa/dsa2.c
- net/dsa/dsa_priv.h 1 addition, 1 deletionnet/dsa/dsa_priv.h
- net/dsa/slave.c 6 additions, 2 deletionsnet/dsa/slave.c
Please register or sign in to comment