commit | 2e7bd5ef98030999eaf4bf101707e595432fc8c2 | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Thu Mar 31 16:53:41 2016 -0400 |
committer | David S. Miller <davem@davemloft.net> | Mon Apr 04 21:31:34 2016 -0400 |
tree | 1c7b7049decca2d1be1dc2b21c84ada17d329c4e | |
parent | 9ef280c6c28f0c01aa9d909263ad47c796713a8e [diff] |
net: dsa: mv88e6xxx: protect SID register access Introduce a mv88e6xxx_has_stu() helper to protect the access to the GLOBAL_VTU_SID register, instead of checking switch families. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>