Use RX_PAGES for rx_bd_chain_{,r}seq.

Before, TX_PAGES was used, but no harm was done because TX_PAGES ==
RX_PAGES == 2.  Found by Frank Kastenholz of BBN.
This commit is contained in:
gdt 2012-04-26 17:43:02 +00:00
parent a28e849d3a
commit 8e0aa55040
1 changed files with 2 additions and 2 deletions

View File

@ -220,8 +220,8 @@ struct bnx_softc
bus_addr_t tx_bd_chain_paddr[TX_PAGES];
/* H/W maintained RX buffer descriptor chain structure. */
bus_dma_segment_t rx_bd_chain_seg[TX_PAGES];
int rx_bd_chain_rseg[TX_PAGES];
bus_dma_segment_t rx_bd_chain_seg[RX_PAGES];
int rx_bd_chain_rseg[RX_PAGES];
bus_dmamap_t rx_bd_chain_map[RX_PAGES];
struct rx_bd *rx_bd_chain[RX_PAGES];
bus_addr_t rx_bd_chain_paddr[RX_PAGES];