[dpdk-dev] [PATCH v2 33/42] net/e1000/base: led blinking fix for i210
Guinan Sun
guinanx.sun at intel.com
Wed Jun 24 09:53:28 CEST 2020
Added initialization of identification LED.
Signed-off-by: Maciej Hefczyc <maciej.hefczyc at intel.com>
Signed-off-by: Guinan Sun <guinanx.sun at intel.com>
---
drivers/net/e1000/base/e1000_i210.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/drivers/net/e1000/base/e1000_i210.c b/drivers/net/e1000/base/e1000_i210.c
index 553803261..d32b0f089 100644
--- a/drivers/net/e1000/base/e1000_i210.c
+++ b/drivers/net/e1000/base/e1000_i210.c
@@ -925,6 +925,7 @@ STATIC s32 e1000_get_cfg_done_i210(struct e1000_hw *hw)
s32 e1000_init_hw_i210(struct e1000_hw *hw)
{
s32 ret_val;
+ struct e1000_mac_info *mac = &hw->mac;
DEBUGFUNC("e1000_init_hw_i210");
if ((hw->mac.type >= e1000_i210) &&
@@ -934,6 +935,10 @@ s32 e1000_init_hw_i210(struct e1000_hw *hw)
return ret_val;
}
hw->phy.ops.get_cfg_done = e1000_get_cfg_done_i210;
+
+ /* Initialize identification LED */
+ ret_val = mac->ops.id_led_init(hw);
+
ret_val = e1000_init_hw_base(hw);
return ret_val;
}
--
2.17.1
More information about the dev
mailing list