Date: Mon, 6 Nov 2006 22:40:51 GMT From: Sam Leffler <sam@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 109397 for review Message-ID: <200611062240.kA6MepdO028943@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=109397 Change 109397 by sam@sam_ebb on 2006/11/06 22:40:02 nuke some dead code that's never going to get used Affected files ... .. //depot/projects/arm/src/sys/arm/xscale/ixp425/if_npe.c#5 edit Differences ... ==== //depot/projects/arm/src/sys/arm/xscale/ixp425/if_npe.c#5 (text+ko) ==== @@ -862,14 +862,6 @@ int i; NPE_ASSERT_LOCKED(sc); -#if 0 - ixpqmgr_qconfig(sc->tx_qid, dma->nbuf, 0, dma->nbuf, 0, NULL, sc); - if (tx_doneqid == -1) { - ixpqmgr_qconfig(sc->tx_doneqid, dma->nbuf, 0, 2, - IX_QMGR_Q_SOURCE_ID_NOT_E, npe_txdone, sc); - tx_doneqid = sc->tx_doneqid; - } -#endif sc->tx_free = NULL; for (i = 0; i < dma->nbuf; i++) { struct npebuf *npe = &dma->buf[i]; @@ -893,14 +885,6 @@ int i; NPE_ASSERT_LOCKED(sc); -#if 0 - if (rx_qid == -1) { - ixpqmgr_qconfig(sc->rx_qid, dma->nbuf, 0, 1, - IX_QMGR_Q_SOURCE_ID_NOT_E, npe_rxdone, sc); - rx_qid = sc->rx_qid; - } - ixpqmgr_qconfig(sc->rx_freeqid, dma->nbuf, 0, dma->nbuf/2, 0, NULL, sc); -#endif for (i = 0; i < dma->nbuf; i++) { npe = &dma->buf[i]; npe_rxbuf_init(sc, npe, npe->ix_m); @@ -1145,10 +1129,6 @@ */ WR4(sc, NPE_MAC_CORE_CNTRL, NPE_CORE_RESET); DELAY(NPE_MAC_RESET_DELAY); -#if 0 - /* rewrite all parameters to their current value */ - ixEthAccMacStateUpdate(portId); -#endif WR4(sc, NPE_MAC_INT_CLK_THRESH, NPE_MAC_INT_CLK_THRESH_DEFAULT); WR4(sc, NPE_MAC_CORE_CNTRL, NPE_CORE_MDC_EN); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611062240.kA6MepdO028943>