]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: do not bring device down when suspending
authorfrançois romieu <romieu@fr.zoreil.com>
Wed, 17 Jun 2009 11:41:45 +0000 (11:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 18 Jun 2009 01:46:47 +0000 (18:46 -0700)
commit1d2234e4cf80356439220cd1caf8ffa0b82b6e09
tree2cc9236355863d196ca9833ef3f77abfc5d8f1b0
parent76d2ad5b337f7e599c00e212d44ee2f71b28894d
r8169: do not bring device down when suspending

Stopping all activity through ChipCmd and blindly acking the irqs
is neither nice nor completely needed: the transition to low-power
mode does enough work and it apparently keeps the device in a sane
state.

Patch suggested by a fix for http://bugzilla.kernel.org/show_bug.cgi?id=9512

The rtl_shutdown path is kept unchanged so far.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Tested-by: Anders Eriksson <aeriksson@fastmail.fm>
Cc: Edward Hsu <edward_hsu@realtek.com.tw>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/r8169.c