]> git.baikalelectronics.ru Git - kernel.git/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)
commitcbdb9c82e62eea39f4308952da6b3c5a1577c595
tree1a82797c3c394aa3d0d4c37cebab0f55ad2afc89
parent6787a984ee94e99ebb6bc5226bbf2eafd9ca6f75
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