X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fe1000%2Fbase%2Fe1000_i210.c;h=3c349d33ffeb88b93ff06646a9505e4993dc1990;hb=25ae7f1a5d9d127a46f8d62d1d689f77a78138fd;hp=5538032615159b3d4104aa8485ebbfba1f0253cc;hpb=44dddd14059f151f39f7e075b887decfc9a10f11;p=dpdk.git diff --git a/drivers/net/e1000/base/e1000_i210.c b/drivers/net/e1000/base/e1000_i210.c index 5538032615..3c349d33ff 100644 --- a/drivers/net/e1000/base/e1000_i210.c +++ b/drivers/net/e1000/base/e1000_i210.c @@ -1,5 +1,5 @@ /* SPDX-License-Identifier: BSD-3-Clause - * Copyright(c) 2001 - 2015 Intel Corporation + * Copyright(c) 2001-2020 Intel Corporation */ #include "e1000_api.h" @@ -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; }