projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sunxi: usb: USB_MUSB_SUNXI move to musb-new Kconfig
[oweals/u-boot.git]
/
drivers
/
net
/
pcnet.c
diff --git
a/drivers/net/pcnet.c
b/drivers/net/pcnet.c
index 237fbba51379a20197f317197b2c35b241ba7612..cfcb1b4e23326babd16ec1940cb3620cc5c5f65a 100644
(file)
--- a/
drivers/net/pcnet.c
+++ b/
drivers/net/pcnet.c
@@
-507,7
+507,7
@@
static int pcnet_recv (struct eth_device *dev)
buf = (*lp->rx_buf)[lp->cur_rx];
invalidate_dcache_range((unsigned long)buf,
(unsigned long)buf + pkt_len);
buf = (*lp->rx_buf)[lp->cur_rx];
invalidate_dcache_range((unsigned long)buf,
(unsigned long)buf + pkt_len);
-
NetReceive
(buf, pkt_len);
+
net_process_received_packet
(buf, pkt_len);
PCNET_DEBUG2("Rx%d: %d bytes from 0x%p\n",
lp->cur_rx, pkt_len, buf);
}
PCNET_DEBUG2("Rx%d: %d bytes from 0x%p\n",
lp->cur_rx, pkt_len, buf);
}