Searched hist:"3 b5f52801d5de89e39b95ac155cbcda44d164240" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/net/phy/ |
| H A D | vitesse.c | 3b5f52801d5de89e39b95ac155cbcda44d164240 Mon Dec 12 15:27:12 UTC 2016 Phil Edworthy <PHIL.EDWORTHY@renesas.com> net: phy: vitesse: Fix cis8204 RGMII_ID code
Commit 79e86ccb3786c8b20004db3fa10a70049456f580 "vitesse: remove duplicated argument to ||" correctly removed a redundant check.
However, I believe that the original code was simply wrong, and should have been checking against RGMII_ID.
To fix this and avoid similar problems in the future, use the phy_interface_is_rgmii helper function.
Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
|