From: Eric Bénard Date: Wed, 2 Jun 2010 13:13:34 +0000 (-0700) Subject: net/fec: fix pm to survive to suspend/resume X-Git-Tag: v2.6.35-rc2~4^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3fe8558c7fc182972c3d947d88744482111f304;p=pandora-kernel.git net/fec: fix pm to survive to suspend/resume * in the actual driver, calling fec_stop and fec_enet_init doesn't allow to have a working network interface at resume (where a ifconfig down and up is required to recover the interface) * by using fec_enet_close and fec_enet_open, this patch solves this problem and handle the case where the link changed between suspend and resume * this patch also disable clock at suspend and reenable it at resume Signed-off-by: Eric Bénard Signed-off-by: David S. Miller --- Reading git-diff-tree failed