-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Wey-Yi Guy
committed
Feb 21, 2011
1 parent
73b78a2
commit aa833c4
Showing
30 changed files
with
61 additions
and
14,046 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,23 @@ | ||
obj-$(CONFIG_IWLWIFI) += iwlcore.o | ||
iwlcore-objs := iwl-core.o iwl-eeprom.o iwl-hcmd.o iwl-power.o | ||
iwlcore-objs += iwl-rx.o iwl-tx.o iwl-sta.o | ||
iwlcore-objs += iwl-scan.o iwl-led.o | ||
iwlcore-$(CONFIG_IWL3945) += iwl-legacy.o | ||
iwlcore-$(CONFIG_IWL4965) += iwl-legacy.o | ||
iwlcore-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-debugfs.o | ||
iwlcore-$(CONFIG_IWLWIFI_DEVICE_TRACING) += iwl-devtrace.o | ||
|
||
# If 3945 is selected only, iwl-legacy.o will be added | ||
# to iwlcore-m above, but it needs to be built in. | ||
iwlcore-objs += $(iwlcore-m) | ||
|
||
CFLAGS_iwl-devtrace.o := -I$(src) | ||
|
||
# AGN | ||
obj-$(CONFIG_IWLAGN) += iwlagn.o | ||
iwlagn-objs := iwl-agn.o iwl-agn-rs.o iwl-agn-led.o | ||
iwlagn-objs += iwl-agn-ucode.o iwl-agn-tx.o | ||
iwlagn-objs += iwl-agn-lib.o iwl-agn-rx.o iwl-agn-calib.o | ||
iwlagn-objs += iwl-agn-tt.o iwl-agn-sta.o iwl-agn-eeprom.o | ||
iwlagn-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-agn-debugfs.o | ||
|
||
iwlagn-$(CONFIG_IWL4965) += iwl-4965.o | ||
iwlagn-$(CONFIG_IWL5000) += iwl-agn-rxon.o iwl-agn-hcmd.o iwl-agn-ict.o | ||
iwlagn-$(CONFIG_IWL5000) += iwl-5000.o | ||
iwlagn-$(CONFIG_IWL5000) += iwl-6000.o | ||
iwlagn-$(CONFIG_IWL5000) += iwl-1000.o | ||
iwlagn-$(CONFIG_IWL5000) += iwl-2000.o | ||
iwlagn-objs += iwl-core.o iwl-eeprom.o iwl-hcmd.o iwl-power.o | ||
iwlagn-objs += iwl-rx.o iwl-tx.o iwl-sta.o | ||
iwlagn-objs += iwl-scan.o iwl-led.o | ||
iwlagn-objs += iwl-agn-rxon.o iwl-agn-hcmd.o iwl-agn-ict.o | ||
iwlagn-objs += iwl-5000.o | ||
iwlagn-objs += iwl-6000.o | ||
iwlagn-objs += iwl-1000.o | ||
iwlagn-objs += iwl-2000.o | ||
|
||
iwlagn-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-agn-debugfs.o | ||
iwlagn-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-debugfs.o | ||
iwlagn-$(CONFIG_IWLWIFI_DEVICE_TRACING) += iwl-devtrace.o | ||
|
||
# 3945 | ||
obj-$(CONFIG_IWL3945) += iwl3945.o | ||
iwl3945-objs := iwl3945-base.o iwl-3945.o iwl-3945-rs.o iwl-3945-led.o | ||
iwl3945-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-3945-debugfs.o | ||
CFLAGS_iwl-devtrace.o := -I$(src) | ||
|
||
ccflags-y += -D__CHECK_ENDIAN__ |
Oops, something went wrong.