]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: Add a ports structure and use it in the switch structure
authorAndrew Lunn <andrew@lunn.ch>
Sat, 4 Jun 2016 19:16:57 +0000 (21:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Jun 2016 21:29:53 +0000 (14:29 -0700)
commit1e02161960ad535a2d862737fb1d32a26e800685
tree0777d99335eff8adf732bd1cb574926b87f9d6c2
parent931436b4e8f7914bd336fdf9158ef85336c36bca
net: dsa: Add a ports structure and use it in the switch structure

There are going to be more per-port members added to the switch
structure. So add a port structure and move the netdev into it.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/bcm_sf2.c
drivers/net/dsa/mv88e6xxx.c
include/net/dsa.h
net/dsa/dsa.c
net/dsa/slave.c
net/dsa/tag_brcm.c
net/dsa/tag_dsa.c
net/dsa/tag_edsa.c
net/dsa/tag_trailer.c