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 <Zach.Sadecki@ripcode.com> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
This commit is contained in:
parent
dcb84b7208
commit
ed81064335
@ -71,6 +71,7 @@ static struct tsec_info_struct tsec_info[] = {
|
|||||||
#else
|
#else
|
||||||
{TSEC1_PHY_ADDR, TSEC_GIGABIT, TSEC1_PHYIDX},
|
{TSEC1_PHY_ADDR, TSEC_GIGABIT, TSEC1_PHYIDX},
|
||||||
#endif
|
#endif
|
||||||
|
#else
|
||||||
{0, 0, 0},
|
{0, 0, 0},
|
||||||
#endif
|
#endif
|
||||||
#if defined(CONFIG_TSEC2)
|
#if defined(CONFIG_TSEC2)
|
||||||
@ -79,6 +80,7 @@ static struct tsec_info_struct tsec_info[] = {
|
|||||||
#else
|
#else
|
||||||
{TSEC2_PHY_ADDR, TSEC_GIGABIT, TSEC2_PHYIDX},
|
{TSEC2_PHY_ADDR, TSEC_GIGABIT, TSEC2_PHYIDX},
|
||||||
#endif
|
#endif
|
||||||
|
#else
|
||||||
{0, 0, 0},
|
{0, 0, 0},
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_MPC85XX_FEC
|
#ifdef CONFIG_MPC85XX_FEC
|
||||||
|
Loading…
Reference in New Issue
Block a user