Skip to contentSkip to conversation

tsec: fix multiple PHY support

PATCH New Kim Phillips 2 participants 2 messages Jul 31, 2007 – Aug 9, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tsec: fix multiple PHY support

From: Zach Sadecki <[email protected]>

The change entitled "Reduce CONFIG_MPC8YXX_TSECx to CONFIG_TSECx" broke multiple PHY support in tsec.c. This fixes it.

---
 drivers/tsec.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/tsec.c +2 -0
index 55334d6..0e8b375 100644
@@ -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
Signature · 1 line
1.5.2.2
#1 lore raw

PATCH 1/1 tsec: fix multiple PHY support

Quoted 4 lines · In message <[email protected]> you wrote:

From: Zach Sadecki <[email protected]>

The change entitled "Reduce CONFIG_MPC8YXX_TSECx to CONFIG_TSECx" broke multiple PHY support in tsec.c. This fixes it.

Added, thanks.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The joys of love made her human and the  agonies  of  love  destroyed
her.
	-- Spock, "Requiem for Methuselah", stardate 5842.8