summaryrefslogtreecommitdiff
path: root/board/xilinx/xilinx_enet
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-04-04 02:05:48 +0200
committerWolfgang Denk <wd@denx.de>2007-04-04 02:05:48 +0200
commitc8f228016202aff5ff09cdeeabe8cffd8d898510 (patch)
tree583d863ceacb0c9de2051e5057a7dc0fc849252a /board/xilinx/xilinx_enet
parent94abd7c0583ebe01e799b25f451201deeaab550d (diff)
parent342cd097be1e7affe82f42ab3da220959a699e64 (diff)
downloadu-boot-imx-c8f228016202aff5ff09cdeeabe8cffd8d898510.zip
u-boot-imx-c8f228016202aff5ff09cdeeabe8cffd8d898510.tar.gz
u-boot-imx-c8f228016202aff5ff09cdeeabe8cffd8d898510.tar.bz2
Merge with /home/wd/git/u-boot/custodian/u-boot-microblaze
Diffstat (limited to 'board/xilinx/xilinx_enet')
-rw-r--r--board/xilinx/xilinx_enet/emac_adapter.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/xilinx/xilinx_enet/emac_adapter.c b/board/xilinx/xilinx_enet/emac_adapter.c
index f159cb6..5a7e59e 100644
--- a/board/xilinx/xilinx_enet/emac_adapter.c
+++ b/board/xilinx/xilinx_enet/emac_adapter.c
@@ -147,7 +147,11 @@ eth_rx(void)
RecvFrameLength = PKTSIZE;
Result = XEmac_PollRecv(&Emac, (u8 *) etherrxbuff, &RecvFrameLength);
if (Result == XST_SUCCESS) {
+#ifndef CONFIG_EMACLITE
NetReceive((uchar *)etherrxbuff, RecvFrameLength);
+#else
+ NetReceive(etherrxbuff, RecvFrameLength);
+#endif
return (1);
} else {
return (0);