Re: [PATCH] sungem: fix suspend regression due to NAPI changes

2007-11-12 Thread David Miller
From: Benjamin Herrenschmidt <[EMAIL PROTECTED]> Date: Tue, 13 Nov 2007 09:32:46 +1100 > > On Mon, 2007-11-12 at 18:45 +0100, Johannes Berg wrote: > > Commit bea3348e (the NAPI changes) made sungem unconditionally enable > > NAPI when resuming and unconditionally disable when suspending, this, >

Re: [PATCH] sungem: fix suspend regression due to NAPI changes

2007-11-12 Thread Benjamin Herrenschmidt
On Mon, 2007-11-12 at 18:45 +0100, Johannes Berg wrote: > Commit bea3348e (the NAPI changes) made sungem unconditionally enable > NAPI when resuming and unconditionally disable when suspending, this, > however, makes napi_disable() hang when suspending when the interface > was taken down before su

[PATCH] sungem: fix suspend regression due to NAPI changes

2007-11-12 Thread Johannes Berg
Commit bea3348e (the NAPI changes) made sungem unconditionally enable NAPI when resuming and unconditionally disable when suspending, this, however, makes napi_disable() hang when suspending when the interface was taken down before suspend because taking the interface down also disables NAPI. This