OSDN Git Service

ixgbe: Take manageability semaphore for firmware commands
authorMark Rustad <mark.d.rustad@intel.com>
Mon, 14 Mar 2016 18:06:02 +0000 (11:06 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 7 Apr 2016 22:51:27 +0000 (15:51 -0700)
commitaf7419017626b93ccdf76b12c2b1dc8fe17da4ad
treeee104f6f02e5190166539ff1dd7191206e286f06
parent5cffde309cb3f6f7aaaa459abd3eba245a863f8a
ixgbe: Take manageability semaphore for firmware commands

We need to take the manageability semaphore when issuing firmware
commands to avoid problems. With this in place, the semaphore is
no longer taken in the ixgbe_set_fw_drv_ver_generic function, since
it will now always be taken by the ixgbe_host_interface_command
function.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c