From: Matt Carlson Date: Fri, 4 Nov 2011 09:14:58 +0000 (+0000) Subject: tg3: Fix APE mutex init and use X-Git-Tag: v3.2-rc1~4^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=78f94dc7b10d98cf4cf8498d98581500d910c6b7;p=pandora-kernel.git tg3: Fix APE mutex init and use APE mutex register blocks are shared by all ports of multiport devices. For some mutexing purposes, each function is assigned their own register. For other cases, each function is assigned its own request and grant bits of a single register. For the latter cases, the tg3 driver is incorrectly allowing each function to use the same set of grant / request bits. This patch fixes the code so that each function uses the appropriate bitset. Signed-off-by: Matt Carlson Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed