[U-Boot-Users] PATCH cmd_net.c check ethernet availability

24 Oct
2005
24 Oct
'05
7:39 p.m.
We have a board where the ethernet is on a plugin module and may or may not be present at boot time. If eth_initialize() doesn't detect the network and a net command is run the system crashes. This patch adds a function to cmd_net.c to check the availability of the ethernet device before trying to access it. If the net device is not found it will print a message and return -1.
* Add check to cmd_net functions to make sure ethernet device is valid before calling Net_Loop() Patch by Andrew Dyer, 24 Oct 2005
Signed-off-by: Andrew Dyer amdyer@gmail.com
-- Hardware, n.: The parts of a computer system that can be kicked.
7135
Age (days ago)
7135
Last active (days ago)
0 comments
1 participants
participants (1)
-
Andrew Dyer