[DNX#2006040142000321] [U-Boot-Users] PATCH cmd_net.c check ethernet avai [...]
DENX Support System
support at denx.de
Sat Apr 1 00:20:15 CEST 2006
Hello list,
inside the automatic U-Boot patch tracking system a new ticket
[DNX#2006040142000321] was created:
<snip>
> 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 at gmail.com>
>
> --
> Hardware, n.:
> The parts of a computer system that can be kicked.
</snip>
Your U-Boot support team
More information about the U-Boot
mailing list