[PATCH v2 07/12] net/ngbe: add LED OEM support

Ferruh Yigit ferruh.yigit at intel.com
Wed Feb 9 20:06:47 CET 2022


On 2/9/2022 10:42 AM, Jiawen Wu wrote:
> Support to get OEM customized LED configuration information from firmware.
> And driver needs to adjust the process of PHY setup link, based on this
> LED configuration.
> 
> Signed-off-by: Jiawen Wu <jiawenwu at trustnetic.com>

<...>

> @@ -338,3 +338,52 @@ s32 ngbe_hic_check_cap(struct ngbe_hw *hw)
>   
>   	return err;
>   }
> +
> +s32 ngbe_phy_led_oem_chk(struct ngbe_hw *hw, u32 *data)
> +{
> +	struct ngbe_hic_read_shadow_ram command;
> +	s32 err;
> +	int i;
> +
> +	DEBUGFUNC("\n");
> +

What is the point of 'DEBUGFUNC' without providing function name?


More information about the dev mailing list