]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
net: Print error message upon net usage when no ethernet-interface is found
authorStefan Roese <sr@denx.de>
Tue, 4 Mar 2008 16:39:25 +0000 (17:39 +0100)
committerStefan Roese <sr@denx.de>
Tue, 4 Mar 2008 16:39:25 +0000 (17:39 +0100)
commite85e2fa85ec09a6fac2846d1d881d8737e2bbda9
treecabf7a1bb36738505825aa88280c88bd8ad68cd0
parent491fb6dea9f52fdb9cb5996e8e978b9e9685179f
net: Print error message upon net usage when no ethernet-interface is found

This patch fixes a problem seen on PPC4xx boards, when no MAC address is
defined. Then no ethernet interface is available but a simple "tftp"
command will return without any error message which is quite confusing.

Signed-off-by: Stefan Roese <sr@denx.de>
net/eth.c