Skip to content
Snippets Groups Projects
Commit ed810643 authored by Zach Sadecki's avatar Zach Sadecki Committed by Wolfgang Denk
Browse files

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: default avatarZach Sadecki <Zach.Sadecki@ripcode.com>
Signed-off-by: default avatarKim Phillips <kim.phillips@freescale.com>
parent dcb84b72
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment