net/ixgbe/base: store link active LED
authorWei Dai <wei.dai@intel.com>
Wed, 21 Dec 2016 09:47:51 +0000 (17:47 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 17 Jan 2017 18:40:51 +0000 (19:40 +0100)
commit72f3bd5801de3af67cd99c5d682607d9e95a4cca
treec509df33e4d70527908763f7cf8cc18756b3af60
parent74b9878181039507d1f46dcc919a0afda61f7b2f
net/ixgbe/base: store link active LED

Add support to get the link active LED index via the LEDCTL register.
If the LEDCTL register does not have link active LED set then
use MAC default LED index.
Link active LED is used for adapter identify/blink support.

Signed-off-by: Wei Dai <wei.dai@intel.com>
drivers/net/ixgbe/base/ixgbe_common.c
drivers/net/ixgbe/base/ixgbe_common.h
drivers/net/ixgbe/base/ixgbe_type.h