Search Linux Wireless

Re: [ath9k-devel] [RFC] ath9k: use correct init values for ar9100 devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Gabor Juhos wrote:
> #define AR_SREV_5416_V20_OR_LATER(_ah) \
> 	(((AR_SREV_5416(_ah)) && \
> 	 ((_ah)->hw_version.macRev >= AR_SREV_REVISION_5416_20)) || \
> 	 ((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9100))
> 
> #define AR_SREV_5416_V22_OR_LATER(_ah) \
> 	(((AR_SREV_5416(_ah)) && \
> 	 ((_ah)->hw_version.macRev >= AR_SREV_REVISION_5416_22)) || \
> 	 ((_ah)->hw_version.macVersion >= AR_SREV_VERSION_9100))

Agreed, this is cleaner.

Sujith
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux