diff options
author | sam <sam@FreeBSD.org> | 2006-02-15 18:23:03 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2006-02-15 18:23:03 +0000 |
commit | d5150c595406f404b66660d920f5bcba653ccf5c (patch) | |
tree | a116c85727b95d8465ddfb25f65566578daad257 /sys/dev/ath/if_athvar.h | |
parent | bb3f45c5b86c1f25a92ba535e1b3f8e17904b38d (diff) | |
download | FreeBSD-src-d5150c595406f404b66660d920f5bcba653ccf5c.zip FreeBSD-src-d5150c595406f404b66660d920f5bcba653ccf5c.tar.gz |
o handle fatal errors directly instead of via the task queue
o temporarily dump some h/w state for diagnosis; this will be
removed once some issues are resolved
MFC after: 2 weeks
Diffstat (limited to 'sys/dev/ath/if_athvar.h')
-rw-r--r-- | sys/dev/ath/if_athvar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ath/if_athvar.h b/sys/dev/ath/if_athvar.h index b131e2a..cb9e95c 100644 --- a/sys/dev/ath/if_athvar.h +++ b/sys/dev/ath/if_athvar.h @@ -251,8 +251,6 @@ struct ath_softc { int sc_rx_th_len; u_int sc_monpass; /* frames to pass in mon.mode */ - struct task sc_fataltask; /* fatal int processing */ - struct ath_descdma sc_rxdma; /* RX descriptos */ ath_bufhead sc_rxbuf; /* receive buffer */ u_int32_t *sc_rxlink; /* link ptr in last RX desc */ @@ -419,6 +417,8 @@ void ath_intr(void *); #define ath_hal_getdiagstate(_ah, _id, _indata, _insize, _outdata, _outsize) \ ((*(_ah)->ah_getDiagState)((_ah), (_id), \ (_indata), (_insize), (_outdata), (_outsize))) +#define ath_hal_getfatalstate(_ah, _outdata, _outsize) \ + ath_hal_getdiagstate(_ah, 27, NULL, 0, (void **)(_outdata), _outsize) #define ath_hal_setuptxqueue(_ah, _type, _irq) \ ((*(_ah)->ah_setupTxQueue)((_ah), (_type), (_irq))) #define ath_hal_resettxqueue(_ah, _q) \ |