commit | ce6e74f23d8018f50609f694b6177c139486ebe5 | [log] [tgz] |
---|---|---|
author | Chien Tung <chien.tin.tung@intel.com> | Tue Mar 09 21:50:40 2010 +0000 |
committer | Roland Dreier <rolandd@cisco.com> | Wed Apr 21 15:46:40 2010 -0700 |
tree | 5d7f07be071eae07a1c047f8f0ba322a44abd8db | |
parent | 0eddb519b9127c73d53db4bf3ec1d45b13f844d1 [diff] |
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>