]> git.sur5r.net Git - u-boot/blobdiff - drivers/net/sandbox.c
net: davinci_emac: Invalidate only the received portion of a buffer
[u-boot] / drivers / net / sandbox.c
index 4e083d32ae6fe7aad839b84c5875ed98bbc4d627..d538d379bbec77cb54c7072b63480218f3d456dd 100644 (file)
@@ -152,12 +152,12 @@ static int sb_eth_send(struct udevice *dev, void *packet, int length)
        return 0;
 }
 
-static int sb_eth_recv(struct udevice *dev, uchar **packetp)
+static int sb_eth_recv(struct udevice *dev, int flags, uchar **packetp)
 {
        struct eth_sandbox_priv *priv = dev_get_priv(dev);
 
        if (skip_timeout) {
-               sandbox_timer_add_offset(10000UL);
+               sandbox_timer_add_offset(11000UL);
                skip_timeout = false;
        }