From: Matt Carlson Date: Fri, 15 Aug 2008 21:07:24 +0000 (-0700) Subject: tg3: Add APE register access locking X-Git-Tag: v2.6.27-rc4~39^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77b483f132ba25edf4ef455dd87a91ab7bbf4170;p=pandora-kernel.git tg3: Add APE register access locking If the driver resets the chip while the APE is performing a register access, that register access will never complete and the APE will hang indefinitely. To prevent this race condition, the driver must acquire an APE mutex before resetting the chip. The APE will not attempt a register access until it acquires this lock. Signed-off-by: Matt Carlson Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed