commit | 0e7b99257be4b596d9fdd435698c0bfdb0b38d91 | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Wed Sep 21 01:40:31 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Sep 22 02:20:12 2016 -0400 |
tree | ad7448f57b66eeef98d9297a43c8c91713de9d44 | |
parent | efee95f42b5dddedcaff0a0eaa44e170fc7522e8 [diff] |
net: dsa: mv88e6xxx: Add helper for accessing port registers There is a device coming soon which places its port registers somewhere different to all other Marvell switches supported so far. Add helper functions for reading/writing port registers, making it easier to handle this new device. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>