tsec: fix multiple PHY support
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.
Signed-off-by Zach Sadecki <[email protected]>
Signed-off-by Kim Phillips <[email protected]>
--- drivers/tsec.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
drivers/tsec.c +2 -0
@@ -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
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_TSECxtoCONFIG_TSECx" broke multiple PHY support intsec.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