summaryrefslogtreecommitdiffstats
path: root/drivers/net/ep93xx.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2010-06-02 15:59:16 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-06-17 08:28:25 +0200
commitc70689d72780cf0385a361bd754347c5e4a1ba97 (patch)
tree60a5d1c133c2021bed9a3865dff4ecf0aee4c6c0 /drivers/net/ep93xx.c
parent663a6269f26c3310b1c56810dbddc50f9d9280af (diff)
downloadbarebox-c70689d72780cf0385a361bd754347c5e4a1ba97.tar.gz
barebox-c70689d72780cf0385a361bd754347c5e4a1ba97.tar.xz
network drivers: call net_receive directly instead of NetReceive
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/net/ep93xx.c')
-rw-r--r--drivers/net/ep93xx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ep93xx.c b/drivers/net/ep93xx.c
index e91a92ef44..c6c46710d3 100644
--- a/drivers/net/ep93xx.c
+++ b/drivers/net/ep93xx.c
@@ -335,9 +335,9 @@ static int ep93xx_eth_rcv_packet(struct eth_device *edev)
* protocol stack. We track the total number of
* bytes in the frame (nbytes_frame) which will be
* used when we pass the data off to the protocol
- * layer via NetReceive().
+ * layer via net_receive().
*/
- NetReceive((uchar *)priv->rx_dq.current->word1,
+ net_receive((uchar *)priv->rx_dq.current->word1,
RX_STATUS_FRAME_LEN(priv->rx_sq.current));
pr_debug("reporting %d bytes...\n",
RX_STATUS_FRAME_LEN(priv->rx_sq.current));