On 5/16/2018 11:37 PM, Andrew Lunn wrote:
What about PHY_INTERFACE_MODE_RGMII_ID, PHY_INTERFACE_MODE_RGMII_RXID, PHY_INTERFACE_MODE_RGMII_TXID,Oops, totally forgot about those... :-/Everybody does. I keep intending to write a email template for this, and phy_interface_mode_is_rgmii() :-)
The latter doesn't fit for *switch*, anyway.
Andrew
MBR, Sergei