]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2: Check if_running() before touching chip registers.
authorMichael Chan <mchan@broadcom.com>
Fri, 21 Aug 2009 16:20:44 +0000 (16:20 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 23 Aug 2009 00:48:42 +0000 (17:48 -0700)
commit6c161bbfa729d85594dfd1ef04f0d2ab0c96ad73
tree91b6b1e9da1be490c5f632065b12b6aa19bb3041
parent7215a4ec7c57f42819fb9561b68ab0c301a6ea53
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>
drivers/net/bnx2.c