Re: [PATCH] tg3: Refine nvram locking

2006-01-17 Thread David S. Miller
From: Michael Chan [EMAIL PROTECTED] Date: Mon, 16 Jan 2006 14:36:34 -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

[PATCH] tg3: Refine nvram locking

2006-01-16 Thread Michael Chan
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