net/ixgbe/base: limit PHY token lock to MDIO access
authorBeilei Xing <beilei.xing@intel.com>
Thu, 23 Jun 2016 07:22:28 +0000 (15:22 +0800)
committerBruce Richardson <bruce.richardson@intel.com>
Mon, 27 Jun 2016 14:17:53 +0000 (16:17 +0200)
commit7c9a0b715d0b91085af62f87b9e2f47557794671
treea188f3de68afbd4dd908e62e7a76aa52f198a5a5
parent87d2b7c5ce6be79f4b9aa37b16498fe35be20f8a
net/ixgbe/base: limit PHY token lock to MDIO access

This patch limits getting and putting the PHY Token to PHY MDIO
access only by adding ixgbe_read_phy_reg_x550a and
ixgbe_write_phy_reg_x550a. The PHY Token is only needed to
synchronize access to the MDIO shared between the two MAC instance.

Signed-off-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/ixgbe/base/ixgbe_x550.c
drivers/net/ixgbe/base/ixgbe_x550.h