diff options
Diffstat (limited to 'drivers/net/fec_imx.c')
-rw-r--r-- | drivers/net/fec_imx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/fec_imx.c b/drivers/net/fec_imx.c index 9d8b8c75c5..48932911b2 100644 --- a/drivers/net/fec_imx.c +++ b/drivers/net/fec_imx.c @@ -284,7 +284,7 @@ static int fec_init(struct eth_device *dev) * and do not drop the Preamble. */ writel(((imx_get_fecclk() >> 20) / 5) << 1, - fec->regs + FEC_MII_SPEED); + fec->regs + FEC_MII_SPEED); } if (fec->xcv_type == RMII) { @@ -495,7 +495,7 @@ static int fec_recv(struct eth_device *dev) /* Graceful stop complete */ if (readl(fec->regs + FEC_X_CNTRL) & 0x00000001) { fec_halt(dev); - writel(readl(fec->regs + FEC_X_CNTRL) & ~0x00000001, + writel(readl(fec->regs + FEC_X_CNTRL) & ~0x00000001, fec->regs + FEC_X_CNTRL); fec_init(dev); } |