rx_header->flags = 0;
/* Map the mbuf into DMA */
- sc->bfe_rx_cnt = c;
d = &sc->bfe_rx_list[c];
r = &sc->bfe_rx_ring[c];
/* XXX error? */
if (CSR_READ_4(sc, BFE_DMARX_STAT) & BFE_STAT_EMASK)
bfe_wait_bit(sc, BFE_DMARX_STAT, BFE_STAT_SIDLE, 100, 0);
CSR_WRITE_4(sc, BFE_DMARX_CTRL, 0);
- sc->bfe_rx_prod = sc->bfe_rx_cons = 0;
+ sc->bfe_rx_cons = 0;
}
bfe_core_reset(sc);
uint32_t bfe_imask;
uint32_t bfe_dma_offset;
uint32_t bfe_tx_cnt, bfe_tx_cons, bfe_tx_prod;
- uint32_t bfe_rx_cnt, bfe_rx_prod, bfe_rx_cons;
+ uint32_t bfe_rx_cons;
uint32_t bfe_tx_dma, bfe_rx_dma;
uint32_t bfe_link;
uint8_t bfe_phyaddr; /* Address of the card's PHY */