TX_ENTRIES
if (txp_dma_malloc(sc, sizeof(struct txp_tx_desc) * TX_ENTRIES,
sizeof(struct txp_tx_desc) * TX_ENTRIES);
boot->br_txhipri_siz = htole32(TX_ENTRIES * sizeof(struct txp_tx_desc));
for (i = 0; i < TX_ENTRIES; i++) {
if (txp_dma_malloc(sc, sizeof(struct txp_tx_desc) * TX_ENTRIES,
sizeof(struct txp_tx_desc) * TX_ENTRIES);
boot->br_txlopri_siz = htole32(TX_ENTRIES * sizeof(struct txp_tx_desc));
if (cnt >= TX_ENTRIES - TXP_MAXTXSEGS - 4) {
if (++prod == TX_ENTRIES)
if (++prod == TX_ENTRIES) {
IFQ_SET_MAXLEN(&ifp->if_snd, TX_ENTRIES);
KASSERT(sd >= &sc->sc_txd[0] && sd < &sc->sc_txd[TX_ENTRIES]);
KASSERT(txd->tx_addrlo < TX_ENTRIES);
if (++cons == TX_ENTRIES) {
struct txp_swdesc sc_txd[TX_ENTRIES];