net/ixgbe/base: add write flush required by Inphi PHY
authorWei Dai <wei.dai@intel.com>
Wed, 21 Dec 2016 09:48:12 +0000 (17:48 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:40:51 +0000 (19:40 +0100)
commitd1ad3a1fdf33f1de4c37d767da033965c6b1e6ba
tree0255ca4dd044901f03c6ad4f546aa4a9a5f29278
parent383d11f7cf2ede6de2e42f2beaa5fc0350f94769
net/ixgbe/base: add write flush required by Inphi PHY

This patch updates the configuration of PHY from Inphi (www.inphi.com)
to flush the register write with a reg read.
The Inphi PHY is configured in ixgbe_setup_mac_link_sfp_x550a.
The Inphi PHY setup flow has been updated to read configuration reg,
write only linear/non-linear, and then read (write flush).

Signed-off-by: Wei Dai <wei.dai@intel.com>
drivers/net/ixgbe/base/ixgbe_x550.c