diff options
Diffstat (limited to 'drivers/net/mxc_fec.c')
-rw-r--r-- | drivers/net/mxc_fec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/mxc_fec.c b/drivers/net/mxc_fec.c index 093b4e4..4f9f34d 100644 --- a/drivers/net/mxc_fec.c +++ b/drivers/net/mxc_fec.c @@ -79,7 +79,7 @@ #if defined (CONFIG_MX6Q) extern int mx6_rgmii_rework(char *devname, int phy_addr); #endif -#ifdef CONFIG_MX6Q_SABREAUTO +#ifdef CONFIG_MX6Q_ARM2 #define PHY_MIPSCR_LINK_UP (0x1 << 10) #define PHY_MIPSCR_SPEED_MASK (0x3 << 14) #define PHY_MIPSCR_1000M (0x2 << 14) @@ -339,7 +339,7 @@ static void setFecDuplexSpeed(volatile fec_t *fecp, unsigned char addr, } /* for AR8031 PHY */ -#ifdef CONFIG_MX6Q_SABREAUTO +#ifdef CONFIG_MX6Q_ARM2 ret = 100; /* set default mode to 100M full duplex */ dup_spd = _100BASET | (FULL << 16); |