Lines 2080-2086
Link Here
|
2080 |
bus_dmamap_sync(sc->shared_dma.tag, sc->shared_dma.map, |
2080 |
bus_dmamap_sync(sc->shared_dma.tag, sc->shared_dma.map, |
2081 |
BUS_DMASYNC_POSTREAD); |
2081 |
BUS_DMASYNC_POSTREAD); |
2082 |
|
2082 |
|
2083 |
hw = le32toh(sc->shared->next); |
2083 |
hw = le32toh(sc->shared->next) & 0xfff; |
2084 |
hw = (hw == 0) ? WPI_RX_RING_COUNT - 1 : hw - 1; |
2084 |
hw = (hw == 0) ? WPI_RX_RING_COUNT - 1 : hw - 1; |
2085 |
|
2085 |
|
2086 |
while (sc->rxq.cur != hw) { |
2086 |
while (sc->rxq.cur != hw) { |
Lines 2305-2311
Link Here
|
2305 |
static void |
2305 |
static void |
2306 |
wpi_debug_registers(struct wpi_softc *sc) |
2306 |
wpi_debug_registers(struct wpi_softc *sc) |
2307 |
{ |
2307 |
{ |
2308 |
int i; |
2308 |
size_t i; |
2309 |
static const uint32_t csr_tbl[] = { |
2309 |
static const uint32_t csr_tbl[] = { |
2310 |
WPI_HW_IF_CONFIG, |
2310 |
WPI_HW_IF_CONFIG, |
2311 |
WPI_INT, |
2311 |
WPI_INT, |