From: Zach Sadecki Date: Tue, 31 Jul 2007 17:27:25 +0000 (-0500) Subject: tsec: fix multiple PHY support X-Git-Tag: v1.3.0-rc1~19^2~20^2~11^2^2~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ed8106433522f2ea8933e9808346860d061d7731;p=u-boot tsec: fix multiple PHY support The change entitled "Reduce CONFIG_MPC8YXX_TSECx to CONFIG_TSECx" broke multiple PHY support in tsec.c. This fixes it. Signed-off-by: Zach Sadecki Signed-off-by: Kim Phillips --- diff --git a/drivers/tsec.c b/drivers/tsec.c index c9e7f97e7f..c011123494 100644 --- a/drivers/tsec.c +++ b/drivers/tsec.c @@ -71,6 +71,7 @@ static struct tsec_info_struct tsec_info[] = { #else {TSEC1_PHY_ADDR, TSEC_GIGABIT, TSEC1_PHYIDX}, #endif +#else {0, 0, 0}, #endif #if defined(CONFIG_TSEC2) @@ -79,6 +80,7 @@ static struct tsec_info_struct tsec_info[] = { #else {TSEC2_PHY_ADDR, TSEC_GIGABIT, TSEC2_PHYIDX}, #endif +#else {0, 0, 0}, #endif #ifdef CONFIG_MPC85XX_FEC