From: Chien Tung Date: Tue, 9 Mar 2010 21:50:40 +0000 (+0000) Subject: RDMA/nes: Make nesadapter->phy_lock usage consistent X-Git-Tag: v2.6.35-rc1~487^2^11~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce6e74f23d8018f50609f694b6177c139486ebe5;p=pandora-kernel.git 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed