commit | 15d7d7d435cfe1faa1abf62459d6269bb734cfe7 | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Tue May 10 15:44:28 2016 -0400 |
committer | David S. Miller <davem@davemloft.net> | Wed May 11 19:34:23 2016 -0400 |
tree | 1b85e16c71241eddbb0caff60d623f137a382c4d | |
parent | c3f1010b30f7fc611139cfb702a8685741aa6827 [diff] |
net: dsa: mv88e6xxx: abstract VTU/STU data access Both VTU and STU operations use the same routine to access their (common) data registers, with a different offset. Add VTU and STU specific read and write functions to the data registers to abstract the required offset. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>