On Tue, Mar 16, 2010 at 03:46:57PM -0700, Benoit PAPILLAULT wrote:
> Bruno Randolf a écrit :
> > hey!
> >
> > look at that funky piece of code found in the HAL and also ath9k/ani.c:
> >
> > #define AR_MIBC_COW          0x00000001
> > #define AR_MIBC_FMC          0x00000002
> > #define AR_MIBC_CMC          0x00000004
> > #define AR_MIBC_MCS          0x00000008     
> > REG_WRITE(ah, AR_MIBC,
> >       ~(AR_MIBC_COW | AR_MIBC_FMC | AR_MIBC_CMC | AR_MIBC_MCS)
> >       & 0x0f);
> >
> > what a complicated way to express 0 (ZERO)... ;)
> >
> > bruno
> >
> >   
> Indeed! :-)
> Benoit

Heh yeah, thanks I'll fix that on ath9k_hw now.

  Luis
_______________________________________________
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel

Reply via email to