]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: fix suspend/resume for down interface
authorFrancois Romieu <romieu@fr.zoreil.com>
Mon, 2 Apr 2007 21:01:11 +0000 (23:01 +0200)
committerJeff Garzik <jeff@garzik.org>
Wed, 4 Apr 2007 02:31:10 +0000 (22:31 -0400)
commit6f7b131c7917b6b76fe37f6c1d68e25ffa125fbf
tree650f90df889afd4bec688f8ffeffda02e8dedf16
parent541b952dc2588655665fceaa0202af5da0756a26
r8169: fix suspend/resume for down interface

The PM hooks are no-op if the r8169 interface is down (i.e. !IFF_UP).
However, as the chipset is enabled, the device will not work after a
suspend/resume cycle. The patch always issue the required PCI suspend
sequence and removes the module unload/reload workaround.

Signed-off-by: Arnaud Patard <apatard@mandriva.com>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/r8169.c