bna: PCI Probe Fix
authorRasesh Mody <rmody@brocade.com>
Tue, 30 Aug 2011 15:27:38 +0000 (15:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Sep 2011 19:36:33 +0000 (15:36 -0400)
commit0caa9aaec515268ec13b0939bfb7e32cf5a31a55
tree13244d95a0e4773e8cf91fb342046d1854e6ebf8
parent772b5235d86563b00786030d9f42af3a89fd0833
bna: PCI Probe Fix

Change details:
 - Return error as -EIO if bnad_res_alloc fails
 - Release the configuration lock before registering with net_device layer.

Signed-off-by: Gurunatha Karaje <gkaraje@brocade.com>
Signed-off-by: Rasesh Mody <rmody@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/brocade/bna/bnad.c