netxen: fix firmware init handshake
authorDhananjay Phadke <dhananjay@netxen.com>
Mon, 22 Jun 2009 20:26:21 +0000 (20:26 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jun 2009 11:16:43 +0000 (04:16 -0700)
commit96f2ebd2e10417da151202c750d8664767a2194b
treecfa8b81d1cf4cf61f0e94fe2b34d51b2c01d85fd
parent01542cd1bbf995f951e2c2383d7911e96b12bec6
netxen: fix firmware init handshake

Make sure all functions run firmware init handshake.

If PCI function 0 fails to initialize firmware, mark the
state failed so that other functions on the same board
bail out quickly instead of waiting 30s for firmware
handshake.

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