Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/malo/if_malo.c
Show First 20 Lines • Show All 390 Lines • ▼ Show 20 Lines | malo_intr(void *arg) | ||||
malo_hal_getisr(mh, &status); /* NB: clears ISR too */ | malo_hal_getisr(mh, &status); /* NB: clears ISR too */ | ||||
if (status == 0) /* must be a shared irq */ | if (status == 0) /* must be a shared irq */ | ||||
return (FILTER_STRAY); | return (FILTER_STRAY); | ||||
DPRINTF(sc, MALO_DEBUG_INTR, "%s: status 0x%x imask 0x%x\n", | DPRINTF(sc, MALO_DEBUG_INTR, "%s: status 0x%x imask 0x%x\n", | ||||
__func__, status, sc->malo_imask); | __func__, status, sc->malo_imask); | ||||
if (status & MALO_A2HRIC_BIT_RX_RDY) | if (status & MALO_A2HRIC_BIT_RX_RDY) | ||||
taskqueue_enqueue_fast(sc->malo_tq, &sc->malo_rxtask); | taskqueue_enqueue(sc->malo_tq, &sc->malo_rxtask); | ||||
if (status & MALO_A2HRIC_BIT_TX_DONE) | if (status & MALO_A2HRIC_BIT_TX_DONE) | ||||
taskqueue_enqueue_fast(sc->malo_tq, &sc->malo_txtask); | taskqueue_enqueue(sc->malo_tq, &sc->malo_txtask); | ||||
if (status & MALO_A2HRIC_BIT_OPC_DONE) | if (status & MALO_A2HRIC_BIT_OPC_DONE) | ||||
malo_hal_cmddone(mh); | malo_hal_cmddone(mh); | ||||
if (status & MALO_A2HRIC_BIT_MAC_EVENT) | if (status & MALO_A2HRIC_BIT_MAC_EVENT) | ||||
; | ; | ||||
if (status & MALO_A2HRIC_BIT_RX_PROBLEM) | if (status & MALO_A2HRIC_BIT_RX_PROBLEM) | ||||
; | ; | ||||
if (status & MALO_A2HRIC_BIT_ICV_ERROR) { | if (status & MALO_A2HRIC_BIT_ICV_ERROR) { | ||||
/* TKIP ICV error */ | /* TKIP ICV error */ | ||||
▲ Show 20 Lines • Show All 1,771 Lines • Show Last 20 Lines |