Lines 2096-2102
Link Here
|
2096 |
sc->rxq.update = 0; |
2096 |
sc->rxq.update = 0; |
2097 |
wpi_update_rx_ring(sc); |
2097 |
wpi_update_rx_ring(sc); |
2098 |
} |
2098 |
} |
2099 |
for (qid = 0; qid < WPI_NTXQUEUES; qid++) { |
2099 |
for (qid = 0; qid < WPI_DRV_NTXQUEUES; qid++) { |
2100 |
struct wpi_tx_ring *ring = &sc->txq[qid]; |
2100 |
struct wpi_tx_ring *ring = &sc->txq[qid]; |
2101 |
|
2101 |
|
2102 |
if (ring->update) { |
2102 |
if (ring->update) { |
Lines 2165-2171
Link Here
|
2165 |
wpi_nic_unlock(sc); |
2165 |
wpi_nic_unlock(sc); |
2166 |
/* Dump driver status (TX and RX rings) while we're here. */ |
2166 |
/* Dump driver status (TX and RX rings) while we're here. */ |
2167 |
printf("driver status:\n"); |
2167 |
printf("driver status:\n"); |
2168 |
for (i = 0; i < WPI_NTXQUEUES; i++) { |
2168 |
for (i = 0; i < WPI_DRV_NTXQUEUES; i++) { |
2169 |
struct wpi_tx_ring *ring = &sc->txq[i]; |
2169 |
struct wpi_tx_ring *ring = &sc->txq[i]; |
2170 |
printf(" tx ring %2d: qid=%-2d cur=%-3d queued=%-3d\n", |
2170 |
printf(" tx ring %2d: qid=%-2d cur=%-3d queued=%-3d\n", |
2171 |
i, ring->qid, ring->cur, ring->queued); |
2171 |
i, ring->qid, ring->cur, ring->queued); |