diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2018-05-09 17:38:49 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-10 22:12:31 +0200 |
commit | 02317e68369b0feecc18e791016d38a8e4df35f7 (patch) | |
tree | c8741a3bcaa42c6d718851ec1976d674ca652b41 /init | |
parent | Merge branch 'mlx4-misc-next' (diff) | |
download | linux-02317e68369b0feecc18e791016d38a8e4df35f7.tar.xz linux-02317e68369b0feecc18e791016d38a8e4df35f7.zip |
net: dsa: mv88e6xxx: add a cascade port op
Only the 88E6185 family has bits 15:12 Cascade Port bits in the Global
Control 2 register. Hence inconsistent values are actually written in
this register for other families.
Add a .set_cascade_port operation to isolate the 88E6185 case, and call
it from the device mapping setup function.
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 'init')
0 files changed, 0 insertions, 0 deletions