svn commit: r289678 - head/sys/mips/atheros
Adrian Chadd
adrian at FreeBSD.org
Wed Oct 21 05:52:06 UTC 2015
Author: adrian
Date: Wed Oct 21 05:52:04 2015
New Revision: 289678
URL: https://svnweb.freebsd.org/changeset/base/289678
Log:
arge: Remove the debugging printf that snuck in.
This was triggering when using it as an AP bridge rather than an ethernet
bridge.
The code is unclear but it works; I'll fix it to be clearer and test
performance at a later stage.
Modified:
head/sys/mips/atheros/if_arge.c
Modified: head/sys/mips/atheros/if_arge.c
==============================================================================
--- head/sys/mips/atheros/if_arge.c Wed Oct 21 05:37:09 2015 (r289677)
+++ head/sys/mips/atheros/if_arge.c Wed Oct 21 05:52:04 2015 (r289678)
@@ -2195,11 +2195,6 @@ arge_newbuf(struct arge_softc *sc, int i
rxd = &sc->arge_cdata.arge_rxdesc[idx];
if (rxd->rx_m != NULL) {
bus_dmamap_unload(sc->arge_cdata.arge_rx_tag, rxd->rx_dmamap);
- /* XXX TODO: free rx_m? */
- device_printf(sc->arge_dev,
- "%s: ring[%d] rx_m wasn't free?\n",
- __func__,
- idx);
}
map = rxd->rx_dmamap;
rxd->rx_dmamap = sc->arge_cdata.arge_rx_sparemap;
More information about the svn-src-all
mailing list