Partially revert r200228. For mini RCB case, bge(4) still have to

disable mini ring withtout regard to mini ring support.

Reported by:	marcel
Tested by:	marcel
This commit is contained in:
Pyun YongHyeon 2009-12-08 03:24:29 +00:00
parent 4edd8523d4
commit 9766cbd144

View File

@ -1618,14 +1618,12 @@ bge_blockinit(struct bge_softc *sc)
CSR_WRITE_4(sc, BGE_RX_JUMBO_RCB_NICADDR, rcb->bge_nicaddr);
/* Set up dummy disabled mini ring RCB */
if (sc->bge_asicrev == BGE_ASICREV_BCM5700) {
rcb = &sc->bge_ldata.bge_info.bge_mini_rx_rcb;
rcb->bge_maxlen_flags =
BGE_RCB_MAXLEN_FLAGS(0, BGE_RCB_FLAG_RING_DISABLED);
CSR_WRITE_4(sc, BGE_RX_MINI_RCB_MAXLEN_FLAGS,
rcb->bge_maxlen_flags);
}
}
/*
* Set the BD ring replentish thresholds. The recommended