Hello Pavel Chubakov,
Thanks for addressing my question.
Actually i have downlaoded and cross compiled seperatly.
while running ethtool at target i observed very wiered thing.
1) after assigning ip to interface, (while ethernet cable is connected)
root@hmd-modem::~# ./ethtool fm1-gb3
Settings for fm1-gb3:
Supported ports: [ MII ]
Supported link modes: 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: No
Advertised link modes: 1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: No
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 7
Transceiver: external
Auto-negotiation: off
Current message level: 0xffffffff (-1)
drv probe link timer ifdown ifup rx_err tx_err tx_q ueued intr tx_done rx_status pktdata hw wol 0xffff8000
Link detected: yes
2) even all the messages are same while removing cable.
root@hmd-modem::~# ./ethtool fm1-gb3
Settings for fm1-gb3:
Supported ports: [ MII ]
Supported link modes: 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: No
Advertised link modes: 1000baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: No
Speed: 1000Mb/s
Duplex: Full
Port: MII
PHYAD: 7
Transceiver: external
Auto-negotiation: off
Current message level: 0xffffffff (-1)
drv probe link timer ifdown ifup rx_err tx_err tx_q ueued intr tx_done rx_status pktdata hw wol 0xffff8000
Link detected: yes
Link detected must be : no when cable is removed.
Could you pls let me know what could be the issue??
thanks,
Gourav