commit | 23c9891996959dbde59333b8ed997d66b44fb3ff | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Wed May 09 11:38:50 2018 -0400 |
committer | David S. Miller <davem@davemloft.net> | Thu May 10 16:12:31 2018 -0400 |
tree | d466f0113f86d2257d9748b3bb092d1911e41af0 | |
parent | 02317e68369b0feecc18e791016d38a8e4df35f7 [diff] |
net: dsa: mv88e6xxx: set device number All Marvell switches supported by mv88e6xxx have to set their device number in the Global Control 2 register. Extract this in a read then write function, called from the device mapping setup code. 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>