View | Details | Raw Unified | Return to bug 197143 | Differences between
and this patch

Collapse All | Expand All

(-)sys/dev/wpi/if_wpi.c (-2 / +2 lines)
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);
(-)sys/dev/wpi/if_wpireg.h (+1 lines)
Lines 24-29 Link Here
24
#define WPI_RX_RING_COUNT	(1 << WPI_RX_RING_COUNT_LOG)
24
#define WPI_RX_RING_COUNT	(1 << WPI_RX_RING_COUNT_LOG)
25
25
26
#define WPI_NTXQUEUES		8
26
#define WPI_NTXQUEUES		8
27
#define WPI_DRV_NTXQUEUES	5
27
#define WPI_NDMACHNLS		6
28
#define WPI_NDMACHNLS		6
28
29
29
/* Maximum scatter/gather. */
30
/* Maximum scatter/gather. */

Return to bug 197143