[TG3]: Refine nvram locking
authorMichael Chan <mchan@broadcom.com>
Tue, 17 Jan 2006 10:40:55 +0000 (02:40 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Jan 2006 10:40:55 +0000 (02:40 -0800)
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 <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found