diff options
author | Michal Simek <michal.simek@xilinx.com> | 2015-08-17 09:51:34 +0200 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2015-11-19 13:50:09 +0100 |
commit | 081dc2fa78e4a2760ffd713292da430e9290a662 (patch) | |
tree | 40a591ef0103620e7e59138345f842f7d6a74b78 /drivers/net/zynq_gem.c | |
parent | 45c0774151183d04bc3bc5ecce96160dc736f96e (diff) | |
download | u-boot-081dc2fa78e4a2760ffd713292da430e9290a662.tar.gz u-boot-081dc2fa78e4a2760ffd713292da430e9290a662.tar.xz u-boot-081dc2fa78e4a2760ffd713292da430e9290a662.zip |
net: zynq: Do not report TX underrun
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/net/zynq_gem.c')
-rw-r--r-- | drivers/net/zynq_gem.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index b8686f3e23..946dc1b6a9 100644 --- a/drivers/net/zynq_gem.c +++ b/drivers/net/zynq_gem.c @@ -432,8 +432,6 @@ static int zynq_gem_send(struct eth_device *dev, void *ptr, int len) setbits_le32(®s->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"); |