diff options
author | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-02-21 13:57:10 -0500 |
---|---|---|
committer | Wey-Yi Guy <wey-yi.w.guy@intel.com> | 2011-02-21 13:57:10 -0500 |
commit | aa833c4b1a928b8d3c4fcc2faaa0d6b81ea02b56 (patch) | |
tree | 1e77cec7f539efeb30bc804cb9b34f38cd8cfeeb /drivers/net/wireless/iwlwifi/iwl-power.c | |
parent | 73b78a22720087d2d384bdd49e9c25500ba73edd (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-power.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-power.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-power.c b/drivers/net/wireless/iwlwifi/iwl-power.c index 1d1bf3234d8d..576795e2c75b 100644 --- a/drivers/net/wireless/iwlwifi/iwl-power.c +++ b/drivers/net/wireless/iwlwifi/iwl-power.c | |||
@@ -425,7 +425,6 @@ int iwl_power_set_mode(struct iwl_priv *priv, struct iwl_powertable_cmd *cmd, | |||
425 | 425 | ||
426 | return ret; | 426 | return ret; |
427 | } | 427 | } |
428 | EXPORT_SYMBOL(iwl_power_set_mode); | ||
429 | 428 | ||
430 | int iwl_power_update_mode(struct iwl_priv *priv, bool force) | 429 | int iwl_power_update_mode(struct iwl_priv *priv, bool force) |
431 | { | 430 | { |
@@ -434,7 +433,6 @@ int iwl_power_update_mode(struct iwl_priv *priv, bool force) | |||
434 | iwl_power_build_cmd(priv, &cmd); | 433 | iwl_power_build_cmd(priv, &cmd); |
435 | return iwl_power_set_mode(priv, &cmd, force); | 434 | return iwl_power_set_mode(priv, &cmd, force); |
436 | } | 435 | } |
437 | EXPORT_SYMBOL(iwl_power_update_mode); | ||
438 | 436 | ||
439 | /* initialize to default */ | 437 | /* initialize to default */ |
440 | void iwl_power_initialize(struct iwl_priv *priv) | 438 | void iwl_power_initialize(struct iwl_priv *priv) |
@@ -448,4 +446,3 @@ void iwl_power_initialize(struct iwl_priv *priv) | |||
448 | memset(&priv->power_data.sleep_cmd, 0, | 446 | memset(&priv->power_data.sleep_cmd, 0, |
449 | sizeof(priv->power_data.sleep_cmd)); | 447 | sizeof(priv->power_data.sleep_cmd)); |
450 | } | 448 | } |
451 | EXPORT_SYMBOL(iwl_power_initialize); | ||