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

Collapse All | Expand All

(-)sys/dev/wpi/if_wpi.c (-3 / +5 lines)
Lines 2188-2197 Link Here
2188
			break;
2188
			break;
2189
		}
2189
		}
2190
		}
2190
		}
2191
2192
		if (sc->rxq.cur % 8 == 0) {
2193
			/* Tell the firmware what we have processed. */
2194
			wpi_update_rx_ring(sc);
2195
		}
2191
	}
2196
	}
2192
2193
	/* Tell the firmware what we have processed. */
2194
	wpi_update_rx_ring(sc);
2195
}
2197
}
2196
2198
2197
/*
2199
/*
(-)sys/dev/wpi/if_wpireg.h (+6 lines)
Lines 20-26 Link Here
20
#define WPI_TX_RING_COUNT	256
20
#define WPI_TX_RING_COUNT	256
21
#define WPI_TX_RING_LOMARK	192
21
#define WPI_TX_RING_LOMARK	192
22
#define WPI_TX_RING_HIMARK	224
22
#define WPI_TX_RING_HIMARK	224
23
24
#ifdef DIAGNOSTIC
25
#define WPI_RX_RING_COUNT_LOG	8
26
#else
23
#define WPI_RX_RING_COUNT_LOG	6
27
#define WPI_RX_RING_COUNT_LOG	6
28
#endif
29
24
#define WPI_RX_RING_COUNT	(1 << WPI_RX_RING_COUNT_LOG)
30
#define WPI_RX_RING_COUNT	(1 << WPI_RX_RING_COUNT_LOG)
25
31
26
#define WPI_NTXQUEUES		8
32
#define WPI_NTXQUEUES		8

Return to bug 197143