commit | 3767546cc24de8f104e745d59a0a43a09d9267df | [log] [tgz] |
---|---|---|
author | Michael Chan <mchan@broadcom.com> | Fri Aug 21 16:20:44 2009 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sat Aug 22 17:48:42 2009 -0700 |
tree | 91b6b1e9da1be490c5f632065b12b6aa19bb3041 | |
parent | 155d5561f570c5b3af7a178670061927d89209fb [diff] |
bnx2: Check if_running() before touching chip registers. Add this check to bnx2_netif_stop() and bnx2_vlan_rx_register() to prevent bus lockups on some systems when the chip is in low power state. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>