ixgbe/base: use a semaphore to serialize X550 IOSF accesses
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Wed, 24 Jun 2015 03:26:06 +0000 (11:26 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 26 Jun 2015 10:58:05 +0000 (12:58 +0200)
commit8bdbca1345503ef93f1fcfed2896b9eaef25a75d
tree0d30c8a55c408eccb79b325475fc9cfb1b11754c
parentbde42a22091b6d540e9f66f3e680fe374f71fe87
ixgbe/base: use a semaphore to serialize X550 IOSF accesses

Because each IOSF access requires the use of multiple registers,
use a semaphore to serialize those accesses.

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
Acked-by: Helin Zhang <helin.zhang@intel.com>
drivers/net/ixgbe/base/ixgbe_x550.c