net/ixgbe/base: extract PHY probing function
authorXiao Wang <xiao.w.wang@intel.com>
Sun, 25 Sep 2016 08:59:44 +0000 (16:59 +0800)
committerBruce Richardson <bruce.richardson@intel.com>
Fri, 30 Sep 2016 10:27:18 +0000 (12:27 +0200)
commitc3dcab83a4f2bcfbb1cd56a4b862c93bc0af3ffa
tree9823b3ede7f7188d0b53a6854179117f62385aba
parentb0804257512e1f8ba6a8ac54ac013ff4ac4a99d6
net/ixgbe/base: extract PHY probing function

Move the PHY probe code into a separate function so that it can be
reused. A subsequent patch will use it for configurations that
provide the PHY address explicitly.

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