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)
commit4bb3f522077f6b10531451f50c376d6137ebd364
tree2cc9236355863d196ca9833ef3f77abfc5d8f1b0
parentc2f3f3a2fe4e35db352cfe1176e384e36bfd91b1
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