Date: Wed, 21 Oct 2015 05:52:04 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r289678 - head/sys/mips/atheros Message-ID: <201510210552.t9L5q4aI041849@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510210552.t9L5q4aI041849>