imx28evk: Ethernet Plug/Unplug Event not working

From: Ankur Patel <hidden>
Date: 2014-06-10 04:39:55

Hello Friends,

I am using Linux kernel 3.10.32 on I.MX 28 EVK board. On that I couldn't able to get any netlink messages from kernel on Ethernet Plug/Unplug event.

I am using opensource program netlink.c (http://pastebin.com/CA8NThAS) to listen on all the netlink messages from kernel.

root@imx28evk:~# ./netlink
[   79.971113] libphy: 800f0000.etherne:00 - Link is Down
[   85.291482] libphy: 800f0000.etherne:00 - Link is Up - 100/Full
...

There is also udev rule defined as below which is not called: 
root@imx28evk:~# cat /etc/udev/rules.d/autonet.rules
# Handle network interface setup
SUBSYSTEM=="net", ACTION=="add" RUN+="/etc/udev/scripts/network.sh"
SUBSYSTEM=="net", ACTION=="remove" RUN+="/etc/udev/scripts/network.sh"

Could anyone share what I need to add to Ethernet driver to enable the kernel to send the messages?

Please share if you need more information.

Regards,
Ankur
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help