net/ixgbe/base: add PHY read and write
authorQiming Yang <qiming.yang@intel.com>
Wed, 10 Jan 2018 16:04:34 +0000 (00:04 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jan 2018 17:47:49 +0000 (18:47 +0100)
commit91d616be7da855acf82b14a65b2c1ea687322f06
tree759952fb6c0af99ec7a6c1fba94a95e6c9fdd830
parent6175260d12cc22852cecf2fb7ecd95cdb07611b5
net/ixgbe/base: add PHY read and write

This patch adds lockless read/write support for clause 22 PHY,
together with some enhancements for link speed and return value
handling.

Signed-off-by: Qiming Yang <qiming.yang@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ixgbe/base/ixgbe_common.c
drivers/net/ixgbe/base/ixgbe_x550.c