]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd859a3bf03e7f50a68e905e2add73f5320c59a94
treee6710435618c01d6426daaec78397464d626711a
parent86210c441368c7f183cbdf29f09f4eee3113f23b
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