Fix TSEC driver: avoid crashes if PHY is not attached

to a TSEC (e.g. a switch is connected via RMII) or
if the PHY is defective/incorrectly configured.

Signed-off-by: Ben Warren <bwarren@qstreams.com>
This commit is contained in:
Ben Warren 2006-10-26 14:38:25 -04:00 committed by Wolfgang Denk
parent 2b2a40bebb
commit b985b5d6e4
2 changed files with 120 additions and 113 deletions

View File

@ -1,3 +1,9 @@
commit 2b2a40bebbf1822506e80e631d7253e60f0e0fe6
Author: Wolfgang Denk <wd@pollux.denx.de>
Date: Thu Oct 26 16:24:31 2006 +0200
Code cleanup.
commit 5e3b0bc19f07ed277d85324ad0427642c8981baf
Author: Haavard Skinnemoen <hskinnemoen@atmel.com>
Date: Wed Oct 25 15:48:59 2006 +0200

View File

@ -330,7 +330,8 @@ endif
.PHONY : CHANGELOG
CHANGELOG:
git log --no-merges U-Boot-1_1_5.. | unexpand -a > $@
git log --no-merges U-Boot-1_1_5.. | \
unexpand -a | sed -e 's/\s\s*$$//' > $@
#########################################################################