]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[BNX2]: Fix suspend/resume problem.
authorMichael Chan <mchan@broadcom.com>
Sat, 4 Aug 2007 03:57:25 +0000 (20:57 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 4 Aug 2007 03:57:25 +0000 (20:57 -0700)
commit6caebb02294b503c5eced4a3f90e6166548ce879
tree6917658242f8c2da95ffdc1817a5944a07f53213
parent3e0c95fd648c0d3175b9ff2232597d0b02eb7d46
[BNX2]: Fix suspend/resume problem.

The device would not resume properly if it was shutdown before the system
was suspended.  In such scenario where the netif_running state is 0,
bnx2_suspend() would not save the PCI state and so the memory enable bit
and bus master enable bit would be lost.

We fix this by always saving and restoring the PCI state in
bnx2_suspend() and bnx2_resume() regardless of netif_running() state.

Update version to 1.6.4.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c