]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: fix LED blink logic to check for link
authorEmil Tantilov <emil.s.tantilov@intel.com>
Sat, 29 Oct 2011 06:54:55 +0000 (06:54 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 16 Nov 2011 12:21:51 +0000 (04:21 -0800)
commit0235072406344e0c020d075a84eb69fe31e702f0
treecec83c3ffcd9c7b0d0976ddef0e0abb19281da54
parentc7297cdcd1229dad28205558a4c3501a11b306e9
ixgbe: fix LED blink logic to check for link

Previously the driver would force link without checking whether the link was
already established. This caused some inconsistencies in the LED blink rate.

Do not force link if link is already up.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c