]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: Bug fix to avoid disabling bottom half during firmware upgrade.
authorSarveshwar Bandi <sarveshwarb@serverengines.com>
Tue, 25 May 2010 23:16:32 +0000 (16:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 May 2010 23:16:32 +0000 (16:16 -0700)
commit04ac61d3b88fb4b168b889a3228c29a5bff3fac7
treee53896ebd88874385459f1c60e19156f96c462d2
parent571013239490d9a245572ba7574a153c00329bde
be2net: Bug fix to avoid disabling bottom half during firmware upgrade.

Certain firmware commands/operations to upgrade firmware could take several
seconds to complete. The code presently disables bottom half during these
operations which could lead to unpredictable behaviour in certain cases. This
patch now does all firmware upgrade operations asynchronously using a
completion variable.

Signed-off-by: Sarveshwar Bandi <sarveshwarb@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/benet/be.h
drivers/net/benet/be_cmds.c
drivers/net/benet/be_main.c