diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2018-05-09 11:38:50 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-10 16:12:31 -0400 |
commit | 23c9891996959dbde59333b8ed997d66b44fb3ff (patch) | |
tree | d466f0113f86d2257d9748b3bb092d1911e41af0 /drivers/net/dsa/mv88e6xxx/chip.h | |
parent | 02317e68369b0feecc18e791016d38a8e4df35f7 (diff) | |
download | lwn-23c9891996959dbde59333b8ed997d66b44fb3ff.tar.gz lwn-23c9891996959dbde59333b8ed997d66b44fb3ff.zip |
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>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx/chip.h')
0 files changed, 0 insertions, 0 deletions