net/ixgbe/base: access IOSF by host interface
authorXiao Wang <xiao.w.wang@intel.com>
Sun, 25 Sep 2016 08:59:54 +0000 (16:59 +0800)
committerBruce Richardson <bruce.richardson@intel.com>
Fri, 30 Sep 2016 10:27:18 +0000 (12:27 +0200)
commit3e150d721d01dacc4ea2c33e849177485ef81fd5
tree7537f8b5023cf119531b70c1417774556f671a04
parent09acd80e3a6eb3c43f03e030db73668118778b26
net/ixgbe/base: access IOSF by host interface

This patch makes sure that we access IOSF registers through the
host interface command (HIC) for the majority of X550em devices.
All devices with NVM are capable of using the HIC.

For consistency all instances where the ixgbe_write_phy_reg_mdi is called
directly are converted to function pointer calls.

Signed-off-by: Xiao Wang <xiao.w.wang@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ixgbe/base/ixgbe_phy.c
drivers/net/ixgbe/base/ixgbe_x550.c