netxen: free napi resources during detach
authorDhananjay Phadke <dhananjay@netxen.com>
Thu, 13 Aug 2009 07:03:01 +0000 (07:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Aug 2009 23:33:04 +0000 (16:33 -0700)
commit232e7d68d50c9ac3a55d716e5ae215ecd1e043b9
tree2367d09f6c2a6f9edc7f674f27dfb987968083fa
parente424fa9d6a0add1a9b812b07e3607daaa5b9e53d
netxen: free napi resources during detach

o Defer napi resouce allocation to device attach.

o Free napi resources and delete napi during detach.

This ensures right behavior across firmware reset.

Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netxen/netxen_nic_init.c
drivers/net/netxen/netxen_nic_main.c