Commits
Mugunthan V N committed c75d92d9419
HACK: drivers: net: cpsw: switch-config: get/set phy status support Support for get/set individual switch port phy link status Use ethtool_cmd interface for switch-config. This also enables using the same userspace application with older as well as newer kernels. Since CPSW switch config code exposes an interface very similar to ethtool, we need some helper functions to convert from legacy userspace interface to the new one. Make some helper functions from ethtool code available for other drivers. TODO: The complete switch config private IOCTL interface needs to be converted to an upstream-friendly solution. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Signed-off-by: Sekhar Nori <nsekhar@ti.com>