linux/drivers/net/ethernet/intel
Mark Rustad acb1ce223b ixgbe: Correct X540 semaphore error
In the function ixgbe_get_swfw_sync_semaphore, an incorrect
check was treating success as failure and vice-versa. This led
to manipulating the IXGBE_SWFW_SYNC register without holding
the software semaphore first, which is an error. In addition,
if getting the REGSMP bit in the IXGBE_SW_FW_SYNC register
timed out, no error code would be returned, making the caller
think that it had successfully acquired the lock. Fix both of
those issues and clean up the function a bit, such as make the
name in the comment match the function.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2014-07-25 19:01:28 -07:00
..
e1000 e1000: remove unnecessary break after return 2014-07-20 21:30:17 -07:00
e1000e e1000e: remove unnecessary break after return 2014-07-20 21:30:18 -07:00
i40e i40e: always print aqtx answer 2014-07-24 05:06:10 -07:00
i40evf i40e: always print aqtx answer 2014-07-24 05:06:10 -07:00
igb igb: bump igb version to 5.2.13 2014-07-24 03:11:19 -07:00
igbvf net: use SPEED_UNKNOWN and DUPLEX_UNKNOWN when appropriate 2014-06-06 16:24:07 -07:00
ixgb net: use SPEED_UNKNOWN and DUPLEX_UNKNOWN when appropriate 2014-06-06 16:24:07 -07:00
ixgbe ixgbe: Correct X540 semaphore error 2014-07-25 19:01:28 -07:00
ixgbevf Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-06-12 14:27:40 -07:00
e100.c net: get rid of SET_ETHTOOL_OPS 2014-05-13 17:43:20 -04:00
Kconfig i40e: add DCB option to Kconfig 2014-01-17 19:13:04 -08:00
Makefile i40evf: add driver to kernel build system 2013-12-31 16:27:49 -08:00