diff --git a/arch/risc-v/src/mpfs/mpfs_ethernet.c b/arch/risc-v/src/mpfs/mpfs_ethernet.c index 5a3632a365ded..6750523739a09 100644 --- a/arch/risc-v/src/mpfs/mpfs_ethernet.c +++ b/arch/risc-v/src/mpfs/mpfs_ethernet.c @@ -1095,7 +1095,7 @@ static void mpfs_interrupt_work(void *arg) if ((rsr & RECEIVE_STATUS_BUFFER_NOT_AVAILABLE) != 0) { ++rx_error; - nerr("ERROR: Buffer not available RSR: %08" PRIx32 "\n", rsr); +// nerr("ERROR: Buffer not available RSR: %08" PRIx32 "\n", rsr); } /* Check for HRESP not OK */ @@ -1112,7 +1112,7 @@ static void mpfs_interrupt_work(void *arg) if (rx_error != 0) { - nerr("RX ERROR: reset\n"); +// nerr("RX ERROR: reset\n"); mpfs_rxreset(priv); *priv->queue[queue].int_status = 0xffffffff; mac_putreg(priv, RECEIVE_STATUS, 0xffffffff); diff --git a/drivers/net/ksz9477.c b/drivers/net/ksz9477.c index a781096cdd649..190fed54283b6 100644 --- a/drivers/net/ksz9477.c +++ b/drivers/net/ksz9477.c @@ -656,6 +656,8 @@ int ksz9477_init(ksz9477_port_t master_port) uint32_t regval32; uint16_t backup; + nerr("Initializing..\n"); + /* Read the ID registers */ ret = ksz9477_reg_read16(KSZ9477_ID1, ®val16); @@ -832,5 +834,7 @@ int ksz9477_init(ksz9477_port_t master_port) #endif + nerr("Init done, ret %d\n", ret); + return ret; } diff --git a/net/arp/arp_send.c b/net/arp/arp_send.c index 1080cf0173b73..a8165b13e4c10 100644 --- a/net/arp/arp_send.c +++ b/net/arp/arp_send.c @@ -385,9 +385,11 @@ int arp_send(in_addr_t ipaddr) /* Increment the retry count */ state.snd_retries++; +/* nerr("ERROR: arp_wait failed: %d, ipaddr: %u.%u.%u.%u\n", ret, ip4_addr1(ipaddr), ip4_addr2(ipaddr), ip4_addr3(ipaddr), ip4_addr4(ipaddr)); +*/ } nxsem_destroy(&state.snd_sem); diff --git a/net/udp/udp_sendto_unbuffered.c b/net/udp/udp_sendto_unbuffered.c index 13460e8f23b18..2bca66e82cce8 100644 --- a/net/udp/udp_sendto_unbuffered.c +++ b/net/udp/udp_sendto_unbuffered.c @@ -389,7 +389,7 @@ ssize_t psock_udp_sendto(FAR struct socket *psock, FAR const void *buf, if (ret < 0) { - nerr("ERROR: Peer not reachable\n"); +// nerr("ERROR: Peer not reachable\n"); return -ENETUNREACH; } #endif /* CONFIG_NET_ARP_SEND || CONFIG_NET_ICMPv6_NEIGHBOR */