]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: Inform caller if driver didn't upgrade firmware
authorVipul Pandya <vipul@chelsio.com>
Wed, 26 Sep 2012 02:39:41 +0000 (02:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Sep 2012 21:55:50 +0000 (17:55 -0400)
commit58f60b1f2e2c119aca193f2d20ca8d173f11aa69
tree29cc413af3050c935edf5173cd029bf274d09016
parent1b79cea88c0c50125cbbaa27a098df2b3d2e7948
cxgb4: Inform caller if driver didn't upgrade firmware

If a card had already been initialized, on reloading cxgb4 driver firmware
required an upgrade but the upgrade did not happen. In that case a mailbox
timeout would occur during T4 configuration file stuff. The fix is to let the
caller know the firmware was not upgraded so a reset would be issued before
starting the T4 config stuff.

Signed-off-by: Jay Hernandez <jay@chelsio.com>
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c