commit | 86a80eab8ced2454bae954b681797c692afe2ea2 | [log] [tgz] |
---|---|---|
author | Bruce Allan <bruce.w.allan@intel.com> | Wed Mar 06 09:02:41 2013 +0000 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Wed Mar 27 23:32:06 2013 -0700 |
tree | 3adcd833547a770be612ff72050ec1cdc7de3b07 | |
parent | 772d05c51c4f4896c120ad418b1e91144a2ac813 [diff] |
e1000e: fix LED blink logic for designs with LEDs driven by cathode When the LEDs are driven by cathode, the bit logic is reversed. Use the LED Invert bit to invert the logic. Cleanup use of a magic number and change the for loop increment to reduce the number of shifts. Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>