]> git.sur5r.net Git - u-boot/commitdiff
net: zynq: Do not report TX underrun
authorMichal Simek <michal.simek@xilinx.com>
Mon, 17 Aug 2015 07:51:34 +0000 (09:51 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 19 Nov 2015 12:50:09 +0000 (13:50 +0100)
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/zynq_gem.c

index b8686f3e23652f40528b5404ea75afc107442ca1..946dc1b6a9fc551d5f3b8c023095db6e5829a16a 100644 (file)
@@ -432,8 +432,6 @@ static int zynq_gem_send(struct eth_device *dev, void *ptr, int len)
        setbits_le32(&regs->nwctrl, ZYNQ_GEM_NWCTRL_STARTTX_MASK);
 
        /* Read TX BD status */
-       if (priv->tx_bd->status & ZYNQ_GEM_TXBUF_UNDERRUN)
-               printf("TX underrun\n");
        if (priv->tx_bd->status & ZYNQ_GEM_TXBUF_EXHAUSTED)
                printf("TX buffers exhausted in mid frame\n");