diff options
author | Chien Tung <chien.tin.tung@intel.com> | 2010-03-09 22:50:40 +0100 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2010-04-22 00:46:40 +0200 |
commit | ce6e74f23d8018f50609f694b6177c139486ebe5 (patch) | |
tree | 5d7f07be071eae07a1c047f8f0ba322a44abd8db /drivers/infiniband/hw/nes/nes_verbs.c | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rol... (diff) | |
download | linux-ce6e74f23d8018f50609f694b6177c139486ebe5.tar.xz linux-ce6e74f23d8018f50609f694b6177c139486ebe5.zip |
RDMA/nes: Make nesadapter->phy_lock usage consistent
nes_{read,write}_1G_phy_reg() are using phy_lock while
nes_{read,write}_10G_phy_reg() leave that to the caller.
Remove phy_lock from 1G routines and leave the locking to the caller.
Add additional phy_lock calls around 1G read/write.
Signed-off-by: Chien Tung <chien.tin.tung@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/nes/nes_verbs.c')
0 files changed, 0 insertions, 0 deletions