PERFORCE change 109397 for review
Sam Leffler
sam at FreeBSD.org
Mon Nov 6 22:41:06 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=109397
Change 109397 by sam at 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);
}
More information about the p4-projects
mailing list