From: Rajkumar Manoharan Date: Fri, 19 Nov 2010 11:23:19 +0000 (+0530) Subject: ath: Add a driver_info bitmask field X-Git-Tag: v2.6.38-rc1~476^2~169^2^2~173 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bedbbb959d2c1d1dbb4c2215f5b7074b1da3030a;p=platform%2Fkernel%2Flinux-3.10.git ath: Add a driver_info bitmask field The driver_info stores the device category information which is used to load appropriate device firmware, select firmware offset and eeprom starting location. The driver_info is accessed across ath9k_htc and ath9k_hw. Hence placed under common structure. Signed-off-by: Rajkumar Manoharan Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath.h b/drivers/net/wireless/ath/ath.h index 501050c..20ea68c 100644 --- a/drivers/net/wireless/ath/ath.h +++ b/drivers/net/wireless/ath/ath.h @@ -104,6 +104,11 @@ enum ath_cipher { ATH_CIPHER_MIC = 127 }; +enum ath_drv_info { + AR7010_DEVICE = BIT(0), + AR9287_DEVICE = BIT(1), +}; + /** * struct ath_ops - Register read/write operations * @@ -147,6 +152,7 @@ struct ath_common { u8 rx_chainmask; u32 rx_bufsize; + u32 driver_info; u32 keymax; DECLARE_BITMAP(keymap, ATH_KEYMAX);