[U-Boot-Users] [PATCH] tsec: fix multiple PHY support
Kim Phillips
kim.phillips at freescale.com
Tue Jul 31 19:27:25 CEST 2007
From: Zach Sadecki <Zach.Sadecki at ripcode.com>
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 <Zach.Sadecki at ripcode.com>
Signed-off-by: Kim Phillips <kim.phillips at freescale.com>
---
drivers/tsec.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/tsec.c b/drivers/tsec.c
index 55334d6..0e8b375 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
--
1.5.2.2
More information about the U-Boot
mailing list