summaryrefslogtreecommitdiff
path: root/drivers/net/vxge/vxge-ethtool.c
diff options
context:
space:
mode:
authorJon Mason <jon.mason@exar.com>2010-11-11 04:25:56 +0000
committerDavid S. Miller <davem@davemloft.net>2010-11-11 09:30:20 -0800
commit8424e00dfd5282026a93996a165fc4079d382169 (patch)
treec427a353c8859c77b642d683e2911afb3a7d3afd /drivers/net/vxge/vxge-ethtool.c
parentddd62726e0bc1ffe0ab791b647f4178161ab451b (diff)
downloadlwn-8424e00dfd5282026a93996a165fc4079d382169.tar.gz
lwn-8424e00dfd5282026a93996a165fc4079d382169.zip
vxge: serialize access to steering control register
It is possible for multiple callers to access the firmware interface for the same vpath simultaneously, resulting in uncertain output. Add locks to serialize access. Also, make functions only accessed locally static, thus requiring some movement of code blocks. Signed-off-by: Jon Mason <jon.mason@exar.com> Signed-off-by: Ram Vepa <ram.vepa@exar.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/vxge/vxge-ethtool.c')
0 files changed, 0 insertions, 0 deletions