]> Git Repo - linux.git/commit - net/dsa/slave.c
net: dsa: store a dsa_port in dsa_slave_priv
authorVivien Didelot <[email protected]>
Fri, 27 Jan 2017 20:29:39 +0000 (15:29 -0500)
committerDavid S. Miller <[email protected]>
Sun, 29 Jan 2017 23:42:46 +0000 (18:42 -0500)
commitafdcf151c1f7346207dcee3f8d6d82991dbbb7e5
tree1afa077b113e04b364c88e90cabade71e3675f80
parent818be8489d6fc8f4cc2c7699bbfd8e1983080f10
net: dsa: store a dsa_port in dsa_slave_priv

Store a pointer to the dsa_port structure in the dsa_slave_priv
structure, instead of the switch/port index.

This will allow to store more information such as the bridge device,
needed in DSA drivers for multi-chip configuration.

Signed-off-by: Vivien Didelot <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
net/dsa/dsa_priv.h
net/dsa/slave.c
net/dsa/tag_brcm.c
net/dsa/tag_dsa.c
net/dsa/tag_edsa.c
net/dsa/tag_qca.c
net/dsa/tag_trailer.c
This page took 0.053171 seconds and 4 git commands to generate.