]> git.karo-electronics.de Git - linux-beck.git/commit
bna: Serialize smem access during adapter initialization
authorJing Huang <huangj@Brocade.COM>
Wed, 4 Apr 2012 05:42:08 +0000 (05:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Apr 2012 22:19:17 +0000 (18:19 -0400)
commite491c77ed37de43cc89cfb4930f80f9a36dff1b8
treebdc74ac23f2c8d3f191c067acbfabc7eeaad9c1f
parent695e00789a2703e79da9adf3cd868fe54142885e
bna: Serialize smem access during adapter initialization

Use init semaphore to serialize execution of the "unlock IOC semaphore"
code. Added bfa_ioc_fwver_clear() function to clear the firmware header if
last firmwar boot is not from driver.

Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/brocade/bna/bfa_ioc.c