]> git.baikalelectronics.ru Git - kernel.git/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)
commit393e978898906217ecd645784522a101650ec615
tree7b8112f808f59ecde35b3de9900b1221e9aeb162
parent3787502478ce9d8dc325cf6ce7361f9c4e6e5d13
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