AnsweredAssumed Answered

Linux support of ethtool ETHTOOL_PHYS_ID in fsl_dpa (t4160)

Question asked by Dennis Lipschinski on Aug 13, 2015
Latest reply on Apr 4, 2017 by Joao Mano



in my device I must switch on the Ethernet LED's of the network phy from user space.

In other devices I use the SIOCGMIIREG and SIOCSMIIREG to write to the mdio registers direct.

But the SIOCGMIIREG and SIOCSMIIREG is not supported any more:

root@myimg-64b:/proc/net# mii-tool eth5

SIOCGMIIPHY on 'eth5' failed: Invalid argument


So I tried to use ethtool:

root@myimg-64b:/proc/net# ethtool -p eth5 2

Cannot identify NIC: Operation not supported


The problem is that set_phys_id is not implemented in driveres/net/ethernet/freescale/dpa/dpaa_ethtool.c


I am using the Freescale Linux SDK 1.8


Hope someone has a idea.