ixgbe: add polling test to end of PHY reset
authorEmil Tantilov <emil.s.tantilov@intel.com>
Wed, 16 Feb 2011 01:38:13 +0000 (01:38 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 3 Mar 2011 11:05:34 +0000 (03:05 -0800)
commit1783575c1a11f726130522b851737cddda4c14c0
treee6710435618c01d6426daaec78397464d626711a
parent48de36c5656113ce6cfe4207da2f90f46917e53d
ixgbe: add polling test to end of PHY reset

Some PHYs require that we poll the reset bit and wait for it to clear
before continuing initialization.  As such we should add this check to the
end of the ixgbe_reset_phy_generic routine.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe_phy.c