b43: Rename the DMA ring pointers
Rename the DMA ring pointers to have more descriptive and standard names. Also remove the 6th unused TX ring. We can add it back later, if we need it. The unused TX-status rx-ring is also removed, as that's only used by legacy devices not supported by this driver anyway. This is no functional change, except less memory allocation for the removed rings. Signed-off-by: Michael Buesch <mb@bu3sch.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
e6f5b934fb
commit
b27faf8ebf
@@ -1594,11 +1594,10 @@ static void b43_interrupt_tasklet(struct b43_wldev *dev)
|
||||
|
||||
/* Check the DMA reason registers for received data. */
|
||||
if (dma_reason[0] & B43_DMAIRQ_RX_DONE)
|
||||
b43_dma_rx(dev->dma.rx_ring0);
|
||||
if (dma_reason[3] & B43_DMAIRQ_RX_DONE)
|
||||
b43_dma_rx(dev->dma.rx_ring3);
|
||||
b43_dma_rx(dev->dma.rx_ring);
|
||||
B43_WARN_ON(dma_reason[1] & B43_DMAIRQ_RX_DONE);
|
||||
B43_WARN_ON(dma_reason[2] & B43_DMAIRQ_RX_DONE);
|
||||
B43_WARN_ON(dma_reason[3] & B43_DMAIRQ_RX_DONE);
|
||||
B43_WARN_ON(dma_reason[4] & B43_DMAIRQ_RX_DONE);
|
||||
B43_WARN_ON(dma_reason[5] & B43_DMAIRQ_RX_DONE);
|
||||
|
||||
|
Reference in New Issue
Block a user