]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: Blink LED on 1G BaseT boards
authorHenry Tieman <henry.w.tieman@intel.com>
Tue, 8 Nov 2016 21:05:18 +0000 (13:05 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 7 Dec 2016 04:49:29 +0000 (20:49 -0800)
commit8120bedb85f300f3d57e4fe281a9c5102135f306
tree0f2e48cd6bfad04a885e526d2983ae5857f9c73f
parent6e5f4d3516766b091c6f0579bf9d8cbb6aa27868
i40e: Blink LED on 1G BaseT boards

Before this patch "ethtool -p" was not blinking the LEDs on boards
with 1G BaseT PHYs.

This commit identifies 1G BaseT boards as having the LEDs connected
to the MAC. Also, renamed the flag to be more descriptive of usage.
The flag is now I40E_FLAG_PHY_CONTROLS_LEDS.

Change-ID: I4eb741da9780da7849ddf2dc4c0cb27ffa42a801
Signed-off-by: Henry Tieman <henry.w.tieman@intel.com>
Signed-off-by: Harshitha Ramamurthy <harshitha.ramamurthy@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_main.c