Skip to contentSkip to conversation

PATCH cmd_net.c check ethernet avai [...]

DNX#2006040142000321 DENX Support System 1 participant 1 message Mar 31, 2006

lore
Share & tools
lore
#0 lore raw

Hello list,

inside the automatic U-Boot patch tracking system a new ticket [DNX#2006040142000321] was created:

<snip>

Quoted 13 lines

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

Quoted 5 lines

--
Hardware, n.:
The parts of a computer system that can be kicked.

</snip>

Your U-Boot support team