I do have a problem when the board is connected to a GigE switch. I get a connection, but it is not reliable. So the transfer time for 300kB are between 1.2s and 50ms.
I can solve the problem with the following commands:
"ifconfig eth0 down" and "ifconfig eth0 up" - but I can't use this workaround in a nfs-environment.
I checked the function calls (by debug option) while set up smsc while booting kernel and after the "ifconfig eth0 up" - they seems to be the same. Both come up with the message "eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1"
So the only difference I can see is "ifconfig eth0 down", which issues
eth0: --> smc911x_close
smc911x: --> smc911x_shutdown
I integrated the close call into the open call, but with no better result.
Does someone has a good idea, what is causing this strange thing?