From: Michael Chan Date: Tue, 17 Jan 2006 10:40:55 +0000 (-0800) Subject: [TG3]: Refine nvram locking X-Git-Tag: v2.6.16-rc2~367^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ec41c7dfd525468decb9da9281dbc9ed82d98c98;p=pandora-kernel.git [TG3]: Refine nvram locking Add nvram lock count so that calls to tg3_nvram_lock()/unlock() can be nested. Add error checking to all callers of tg3_nvram_lock() where appropriate. To prevent nvram lock failures after halting the firmware, it is also necessary to release firmware's nvram lock in tg3_halt_cpu(). Update version to 3.48. Based on David Miller's initial patch. Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed