[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190423.104050.1061777831023061186.davem@davemloft.net>
Date: Tue, 23 Apr 2019 10:40:50 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: tanhuazhong@...wei.com
Cc: andrew@...n.ch, f.fainelli@...il.com, hkallweit1@...il.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
linuxarm@...wei.com, shenjian15@...wei.com
Subject: Re: [PATCH V2 net-next] net: phy: marvell: add new default led
configure for m88e151x
From: Huazhong Tan <tanhuazhong@...wei.com>
Date: Mon, 22 Apr 2019 21:52:23 +0800
> From: Jian Shen <shenjian15@...wei.com>
>
> The default m88e151x LED configuration is 0x1177, used LED[0]
> for 1000M link, LED[1] for 100M link, and LED[2] for active.
> But for some boards, which use LED[0] for link, and LED[1] for
> active, prefer to be 0x1040. To be compatible with this case,
> this patch defines a new dev_flag, and set it before connect
> phy in HNS3 driver. When phy initializing, using the new
> LED configuration if this dev_flag is set.
>
> Signed-off-by: Jian Shen <shenjian15@...wei.com>
> Signed-off-by: Huazhong Tan <tanhuazhong@...wei.com>
> ---
> V1->V2: modifies the commit log
Applied, thank you.
Powered by blists - more mailing lists