diff options
author | Maxim Uvarov <maxim.uvarov@linaro.org> | 2023-12-26 21:46:15 +0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-01-11 11:24:58 -0500 |
commit | c64a1e43acb80fce6705c57e9be4e036a97767a3 (patch) | |
tree | 5295191ecd16907c3793adb0f888608811312dc0 | |
parent | f3384d7fbbd9065798958553f52506a6c9e80d24 (diff) | |
download | u-boot-c64a1e43acb80fce6705c57e9be4e036a97767a3.zip u-boot-c64a1e43acb80fce6705c57e9be4e036a97767a3.tar.gz u-boot-c64a1e43acb80fce6705c57e9be4e036a97767a3.tar.bz2 |
driver/net/rtl8139: remove debug print
debug print delays reset of the driver. Finally I see
bunch of "rx error FFFF" errors in the screen. CI can
not handle many prints. While network works fine there
Reproduced with:
make CROSS_COMPILE=sh2-linux- r2dplus_defconfig all
qemu-system-sh4 -M r2d -nographic -serial null \
-serial mon:stdio -net user,tftp=`pwd` \
-net nic,model=rtl8139 -kernel ./u-boot.bin
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | drivers/net/rtl8139.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/rtl8139.c b/drivers/net/rtl8139.c index 106bc1c..d8f24ec 100644 --- a/drivers/net/rtl8139.c +++ b/drivers/net/rtl8139.c @@ -453,7 +453,7 @@ static int rtl8139_recv_common(struct rtl8139_priv *priv, unsigned char *rxdata, RTL_STS_RXBADALIGN)) || (rx_size < ETH_ZLEN) || (rx_size > ETH_FRAME_LEN + 4)) { - printf("rx error %hX\n", rx_status); + debug("rx error %hX\n", rx_status); /* this clears all interrupts still pending */ rtl8139_reset(priv); return 0; |