X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fpcnet.c;h=cfcb1b4e23326babd16ec1940cb3620cc5c5f65a;hb=6bed24cc62ecd8d7a96c34cf1cf3e5e093f7be62;hp=237fbba51379a20197f317197b2c35b241ba7612;hpb=d2a3e911390f9fc4d8c0ee4b3c7fc75f4fd3fd19;p=oweals%2Fu-boot.git diff --git a/drivers/net/pcnet.c b/drivers/net/pcnet.c index 237fbba513..cfcb1b4e23 100644 --- 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); - 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); }