summaryrefslogtreecommitdiffstats
path: root/fs/afs/cache.c
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2016-03-31 16:53:42 -0400
committerDavid S. Miller <davem@davemloft.net>2016-04-04 21:31:35 -0400
commitb426e5f7fe4cd7041b3d8bed58f1e60bba1d11bf (patch)
tree72758b0cfcea34110e0f2bc7e4154cd777ae56ad /fs/afs/cache.c
parent2e7bd5ef98030999eaf4bf101707e595432fc8c2 (diff)
downloadlinux-b426e5f7fe4cd7041b3d8bed58f1e60bba1d11bf.tar.gz
linux-b426e5f7fe4cd7041b3d8bed58f1e60bba1d11bf.tar.bz2
linux-b426e5f7fe4cd7041b3d8bed58f1e60bba1d11bf.zip
net: dsa: mv88e6xxx: protect FID registers access
Only switch families with 4096 address databases have dedicated FID registers for ATU and VTU operations. Factorize the access to the GLOBAL_ATU_FID register and introduce a mv88e6xxx_has_fid_reg() helper function to protect the access to GLOBAL_ATU_FID and GLOBAL_VTU_FID. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/afs/cache.c')
0 files changed, 0 insertions, 0 deletions