diff options
author | Eric Bénard <eric@eukrea.com> | 2010-06-02 15:13:34 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-06-02 15:13:34 +0200 |
commit | e3fe8558c7fc182972c3d947d88744482111f304 (patch) | |
tree | ce78761ef007487fc65d0f0991b2a3925a6b759d /net/lapb | |
parent | korina: count RX DMA OVR as rx_fifo_error (diff) | |
download | linux-e3fe8558c7fc182972c3d947d88744482111f304.tar.xz linux-e3fe8558c7fc182972c3d947d88744482111f304.zip |
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 <eric@eukrea.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/lapb')
0 files changed, 0 insertions, 0 deletions