bna: IOC failure auto recovery fix
authorRasesh Mody <rmody@brocade.com>
Thu, 23 Dec 2010 21:45:09 +0000 (21:45 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 26 Dec 2010 03:16:03 +0000 (19:16 -0800)
commit1d32f7696286eef9e5644eb57e79a36756274357
treeb31e78cc2c72ae9893ac8dea1401cff2b94e104e
parentaad75b66f1d3784514351f06bc589c55d5325bc8
bna: IOC failure auto recovery fix

Change Details:
- Made IOC auto_recovery synchronized and not timer based.
- Only one PCI function will attempt to recover and reinitialize
the ASIC on a failure, that too after all the active PCI
functions acknowledge the IOC failure.

Signed-off-by: Debashis Dutt <ddutt@brocade.com>
Signed-off-by: Rasesh Mody <rmody@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bna/bfa_defs.h
drivers/net/bna/bfa_ioc.c
drivers/net/bna/bfa_ioc.h
drivers/net/bna/bfa_ioc_ct.c
drivers/net/bna/bfi_ctreg.h
drivers/net/bna/bna.h
drivers/net/bna/bnad.c