netxen:fix napi intr enable check
authorAmit Kumar Salecha <amit.salecha@qlogic.com>
Sat, 5 Dec 2009 12:23:55 +0000 (12:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Dec 2009 04:37:45 +0000 (20:37 -0800)
commitf2251f668e9527b87c9ba7256e7497cb49abbc20
treebd0bc74ed3490b817f0fc9f5336867d202d5af90
parent6f7714196b4e01d7462df31d705c3ca53ecbdfc1
netxen:fix napi intr enable check

o netif_running() check for enabling interrupt at end of napi poll is
  not enough to cover firmwar recovery. Instead test __NX_DEV_UP bit.
o Avoid re-entry into to netxen_nic_down() with __NX_DEV_UP bit check.

Acked-by: Dhananjay Phadke <dhananjay.phadke@qlogic.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netxen/netxen_nic_main.c