]> err.no Git - linux-2.6/commit
r8169: fix broken ring index handling in suspend/resume
authorFrancois Romieu <romieu@fr.zoreil.com>
Wed, 22 Feb 2006 23:47:58 +0000 (00:47 +0100)
committerFrancois Romieu <romieu@fr.zoreil.com>
Thu, 23 Feb 2006 22:06:07 +0000 (23:06 +0100)
commit5d06a99f543e734ceb53bbc9e550537be97f0c49
tree7b8112f808f59ecde35b3de9900b1221e9aeb162
parent791917deb63c6d8beb3f347ea0911371deff1624
r8169: fix broken ring index handling in suspend/resume

rtl8169_hw_start() requires that the descriptor ring indexes be
set to zero. Let a deferred invocation of rtl8169_reset_task()
handle it. Enabling a few power management bits will not hurt
either.

suspend/resume is issued with irq on: the spinlock do not need
to save the irq flag.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
drivers/net/r8169.c