diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-02-21 14:27:26 -0500 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-02-21 14:27:26 -0500 |
commit | be663ab67077fac8e23eb8e231a8c1c94cb32e54 (patch) | |
tree | c1d80a72f86be20135d3e57178e99b9d855f622f /drivers/net/wireless/iwlwifi/iwl-eeprom.c | |
parent | 4bc85c1324aaa4a8bb0171e332ff762b6230bdfe (diff) |
iwlwifi: split the drivers for agn and legacy devices 3945/4965
Intel WiFi devices 3945 and 4965 now have their own driver in the folder
drivers/net/wireless/iwlegacy
Add support to build these drivers independently of the driver for
AGN devices. Selecting the 3945 builds iwl3945.ko and iwl_legacy.ko,
and selecting the 4965 builds iwl4965.ko and iwl_legacy.ko. iwl-legacy.ko
contains code shared between both devices.
The 3945 is an ABG/BG device, with no support for 802.11n. The 4965 is a 2x3
ABGN device.
Signed-off-by: Meenakshi Venkataraman <meenakshi.venkataraman@intel.com>
Acked-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-eeprom.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-eeprom.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-eeprom.c b/drivers/net/wireless/iwlwifi/iwl-eeprom.c index 358cfd7e5af1..833194a2c639 100644 --- a/drivers/net/wireless/iwlwifi/iwl-eeprom.c +++ b/drivers/net/wireless/iwlwifi/iwl-eeprom.c | |||
@@ -222,7 +222,6 @@ const u8 *iwlcore_eeprom_query_addr(const struct iwl_priv *priv, size_t offset) | |||
222 | BUG_ON(offset >= priv->cfg->base_params->eeprom_size); | 222 | BUG_ON(offset >= priv->cfg->base_params->eeprom_size); |
223 | return &priv->eeprom[offset]; | 223 | return &priv->eeprom[offset]; |
224 | } | 224 | } |
225 | EXPORT_SYMBOL(iwlcore_eeprom_query_addr); | ||
226 | 225 | ||
227 | static int iwl_init_otp_access(struct iwl_priv *priv) | 226 | static int iwl_init_otp_access(struct iwl_priv *priv) |
228 | { | 227 | { |
@@ -382,7 +381,6 @@ const u8 *iwl_eeprom_query_addr(const struct iwl_priv *priv, size_t offset) | |||
382 | { | 381 | { |
383 | return priv->cfg->ops->lib->eeprom_ops.query_addr(priv, offset); | 382 | return priv->cfg->ops->lib->eeprom_ops.query_addr(priv, offset); |
384 | } | 383 | } |
385 | EXPORT_SYMBOL(iwl_eeprom_query_addr); | ||
386 | 384 | ||
387 | u16 iwl_eeprom_query16(const struct iwl_priv *priv, size_t offset) | 385 | u16 iwl_eeprom_query16(const struct iwl_priv *priv, size_t offset) |
388 | { | 386 | { |
@@ -390,7 +388,6 @@ u16 iwl_eeprom_query16(const struct iwl_priv *priv, size_t offset) | |||
390 | return 0; | 388 | return 0; |
391 | return (u16)priv->eeprom[offset] | ((u16)priv->eeprom[offset + 1] << 8); | 389 | return (u16)priv->eeprom[offset] | ((u16)priv->eeprom[offset + 1] << 8); |
392 | } | 390 | } |
393 | EXPORT_SYMBOL(iwl_eeprom_query16); | ||
394 | 391 | ||
395 | /** | 392 | /** |
396 | * iwl_eeprom_init - read EEPROM contents | 393 | * iwl_eeprom_init - read EEPROM contents |
@@ -509,14 +506,12 @@ err: | |||
509 | alloc_err: | 506 | alloc_err: |
510 | return ret; | 507 | return ret; |
511 | } | 508 | } |
512 | EXPORT_SYMBOL(iwl_eeprom_init); | ||
513 | 509 | ||
514 | void iwl_eeprom_free(struct iwl_priv *priv) | 510 | void iwl_eeprom_free(struct iwl_priv *priv) |
515 | { | 511 | { |
516 | kfree(priv->eeprom); | 512 | kfree(priv->eeprom); |
517 | priv->eeprom = NULL; | 513 | priv->eeprom = NULL; |
518 | } | 514 | } |
519 | EXPORT_SYMBOL(iwl_eeprom_free); | ||
520 | 515 | ||
521 | static void iwl_init_band_reference(const struct iwl_priv *priv, | 516 | static void iwl_init_band_reference(const struct iwl_priv *priv, |
522 | int eep_band, int *eeprom_ch_count, | 517 | int eep_band, int *eeprom_ch_count, |
@@ -779,7 +774,6 @@ int iwl_init_channel_map(struct iwl_priv *priv) | |||
779 | 774 | ||
780 | return 0; | 775 | return 0; |
781 | } | 776 | } |
782 | EXPORT_SYMBOL(iwl_init_channel_map); | ||
783 | 777 | ||
784 | /* | 778 | /* |
785 | * iwl_free_channel_map - undo allocations in iwl_init_channel_map | 779 | * iwl_free_channel_map - undo allocations in iwl_init_channel_map |
@@ -789,7 +783,6 @@ void iwl_free_channel_map(struct iwl_priv *priv) | |||
789 | kfree(priv->channel_info); | 783 | kfree(priv->channel_info); |
790 | priv->channel_count = 0; | 784 | priv->channel_count = 0; |
791 | } | 785 | } |
792 | EXPORT_SYMBOL(iwl_free_channel_map); | ||
793 | 786 | ||
794 | /** | 787 | /** |
795 | * iwl_get_channel_info - Find driver's private channel info | 788 | * iwl_get_channel_info - Find driver's private channel info |
@@ -818,4 +811,3 @@ const struct iwl_channel_info *iwl_get_channel_info(const struct iwl_priv *priv, | |||
818 | 811 | ||
819 | return NULL; | 812 | return NULL; |
820 | } | 813 | } |
821 | EXPORT_SYMBOL(iwl_get_channel_info); | ||