projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net: cosmetic: Fix var naming net <-> eth drivers
[platform/kernel/u-boot.git]
/
arch
/
powerpc
/
cpu
/
mpc8260
/
ether_scc.c
diff --git
a/arch/powerpc/cpu/mpc8260/ether_scc.c
b/arch/powerpc/cpu/mpc8260/ether_scc.c
index
c988def
..
5ba8bed
100644
(file)
--- a/
arch/powerpc/cpu/mpc8260/ether_scc.c
+++ b/
arch/powerpc/cpu/mpc8260/ether_scc.c
@@
-146,7
+146,7
@@
static int sec_rx(struct eth_device *dev)
else
{
/* Pass the packet up to the protocol layers. */
else
{
/* Pass the packet up to the protocol layers. */
-
NetReceive(NetRxP
ackets[rxIdx], length - 4);
+
net_process_received_packet(net_rx_p
ackets[rxIdx], length - 4);
}
}
@@
-263,7
+263,7
@@
static int sec_init(struct eth_device *dev, bd_t *bis)
{
rtx->rxbd[i].cbd_sc = BD_ENET_RX_EMPTY;
rtx->rxbd[i].cbd_datlen = 0; /* Reset */
{
rtx->rxbd[i].cbd_sc = BD_ENET_RX_EMPTY;
rtx->rxbd[i].cbd_datlen = 0; /* Reset */
- rtx->rxbd[i].cbd_bufaddr = (uint)
NetRxP
ackets[i];
+ rtx->rxbd[i].cbd_bufaddr = (uint)
net_rx_p
ackets[i];
}
rtx->rxbd[PKTBUFSRX - 1].cbd_sc |= BD_ENET_RX_WRAP;
}
rtx->rxbd[PKTBUFSRX - 1].cbd_sc |= BD_ENET_RX_WRAP;