projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
drivers: net: convert makefiles to Kbuild style
[oweals/u-boot.git]
/
drivers
/
net
/
fec_mxc.c
diff --git
a/drivers/net/fec_mxc.c
b/drivers/net/fec_mxc.c
index 690e5724b4e57418c50a17306d8b340857ec15a0..107cd6ecc5c3b25a5b173faba25f1e2f76b26b50 100644
(file)
--- a/
drivers/net/fec_mxc.c
+++ b/
drivers/net/fec_mxc.c
@@
-453,7
+453,7
@@
static int fec_open(struct eth_device *edev)
*/
writel(readl(&fec->eth->ecntrl) | FEC_ECNTRL_ETHER_EN,
&fec->eth->ecntrl);
*/
writel(readl(&fec->eth->ecntrl) | FEC_ECNTRL_ETHER_EN,
&fec->eth->ecntrl);
-#if defined(CONFIG_MX25) || defined(CONFIG_MX53)
+#if defined(CONFIG_MX25) || defined(CONFIG_MX53)
|| defined(CONFIG_MX6SL)
udelay(100);
/*
* setup the MII gasket for RMII mode
udelay(100);
/*
* setup the MII gasket for RMII mode
@@
-794,7
+794,7
@@
static int fec_recv(struct eth_device *dev)
uint16_t bd_status;
uint32_t addr, size, end;
int i;
uint16_t bd_status;
uint32_t addr, size, end;
int i;
-
uchar buff[FEC_MAX_PKT_SIZE] __aligned(ARCH_DMA_MINALIGN
);
+
ALLOC_CACHE_ALIGN_BUFFER(uchar, buff, FEC_MAX_PKT_SIZE
);
/*
* Check if any critical events have happened
/*
* Check if any critical events have happened