]> err.no Git - linux-2.6/commit
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)
commit576cfa934e357c44d6259f90c7d065de328a3691
tree1a82797c3c394aa3d0d4c37cebab0f55ad2afc89
parentb3c3e7d7d9795df16012d5c60e5f789e7fade311
8139cp: fix broken suspend/resume

- 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>
drivers/net/8139cp.c