diff options
author | Michael Chan <mchan@broadcom.com> | 2007-08-03 23:56:54 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2007-08-03 23:56:54 -0400 |
commit | 3e0c95fd648c0d3175b9ff2232597d0b02eb7d46 (patch) | |
tree | 4678031803e9848c5ff282e66ebcd3c6474ae144 /drivers/net/bnx2.c | |
parent | d4ac2477fad0f2680e84ec12e387ce67682c5c13 (diff) |
[TG3]: Fix suspend/resume problem.
Joachim Deguara <joachim.deguara@amd.com> reported that tg3 devices
would not resume properly if the device was shutdown before the system
was suspended. In such scenario where the netif_running state is 0,
tg3_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
tg3_suspend() and tg3_resume() regardless of netif_running() state.
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2.c')
0 files changed, 0 insertions, 0 deletions