net: hns3: remove marvell phy led control changes
driver inclusion
category: bugfix
bugzilla: NA
CVE: NA
In original codes, we changed the default value of led control
register and polarity register of marvell phy 88e115x, in order
to adapt the D06 boards, which use LED[0] for link and LED[1]
for active. This change make our driver being strong relative
with cpld. In this case, if user doesn't use marvell phy driver,
or use other boards(e.g. x6000v2) with different cpld, the
behaviour of led is abonormal.
This patch removes the former changes, keep the behaviour be
consitent with other commercial OS.
Fixes: 9a158a9052a5 ("net: phy: marvell: net: phy: marvell: add new m88e1510 LED configuration for hns3")
Fixes: f06104b30e4f ("driver: hns3: update hns3 driver from driver team")
Signed-off-by: NJian Shen <shenjian15@huawei.com>
Reviewed-by: NYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录