8139cp: fix broken suspend/resume
authorFrancois Romieu <romieu@fr.zoreil.com>
Mon, 27 Feb 2006 22:15:06 +0000 (23:15 +0100)
committerFrancois Romieu <romieu@fr.zoreil.com>
Mon, 27 Feb 2006 22:15:06 +0000 (23:15 +0100)
- check that the device is up before it is enabled again;
- the descriptor ring indexes must be set to zero before
  cp_init_hw() is issued. Add a nice comment to remember
  that skb allocation failure is still not handled.

Fixes http://bugzilla.kernel.org/show_bug.cgi?id=5681

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>

No differences found