Re: [U-Boot] [PATCH] net: phy: ti: Fix dp83867 RGMII_TXID interface path

2016-12-09 Thread Joe Hershberger
Hi Phil, On Fri, Dec 9, 2016 at 4:46 AM, Phil Edworthy wrote: > There is code that is specifically for RGMII_TXID interface, but this > will never get used because the code checks that the RGMII interface > is RGMII_ID to RGMII_RXID; RGMII_TXID is after this. > > To

[U-Boot] [PATCH] net: phy: ti: Fix dp83867 RGMII_TXID interface path

2016-12-09 Thread Phil Edworthy
There is code that is specifically for RGMII_TXID interface, but this will never get used because the code checks that the RGMII interface is RGMII_ID to RGMII_RXID; RGMII_TXID is after this. To fix this and avoid similar problems in the future, use the phy_interface_is_rgmii helper function.