iwlwifi: split the drivers for agn and legacy devices 3945/4965
authorWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 21 Feb 2011 19:27:26 +0000 (11:27 -0800)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 21 Feb 2011 19:27:26 +0000 (11:27 -0800)
commitbe663ab67077fac8e23eb8e231a8c1c94cb32e54
treec1d80a72f86be20135d3e57178e99b9d855f622f
parent4bc85c1324aaa4a8bb0171e332ff762b6230bdfe
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>
73 files changed:
drivers/net/wireless/Kconfig
drivers/net/wireless/Makefile
drivers/net/wireless/iwlegacy/Kconfig [new file with mode: 0644]
drivers/net/wireless/iwlegacy/Makefile [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-3945-debugfs.c [moved from drivers/net/wireless/iwlwifi/iwl-3945-debugfs.c with 99% similarity]
drivers/net/wireless/iwlegacy/iwl-3945-debugfs.h [copied from drivers/net/wireless/iwlwifi/iwl-3945-debugfs.h with 95% similarity]
drivers/net/wireless/iwlegacy/iwl-3945-fh.h [moved from drivers/net/wireless/iwlwifi/iwl-3945-fh.h with 98% similarity]
drivers/net/wireless/iwlegacy/iwl-3945-hw.h [moved from drivers/net/wireless/iwlwifi/iwl-3945-hw.h with 96% similarity]
drivers/net/wireless/iwlegacy/iwl-3945-led.c [copied from drivers/net/wireless/iwlwifi/iwl-3945-led.c with 94% similarity]
drivers/net/wireless/iwlegacy/iwl-3945-led.h [copied from drivers/net/wireless/iwlwifi/iwl-3945-led.h with 95% similarity]
drivers/net/wireless/iwlegacy/iwl-3945-rs.c [moved from drivers/net/wireless/iwlwifi/iwl-3945-rs.c with 96% similarity]
drivers/net/wireless/iwlegacy/iwl-3945.c [moved from drivers/net/wireless/iwlwifi/iwl-3945.c with 90% similarity]
drivers/net/wireless/iwlegacy/iwl-3945.h [moved from drivers/net/wireless/iwlwifi/iwl-3945.h with 97% similarity]
drivers/net/wireless/iwlegacy/iwl-4965-calib.c [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-4965-calib.h [copied from drivers/net/wireless/iwlwifi/iwl-legacy.h with 80% similarity]
drivers/net/wireless/iwlegacy/iwl-4965-debugfs.c [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-4965-debugfs.h [moved from drivers/net/wireless/iwlwifi/iwl-3945-debugfs.h with 61% similarity]
drivers/net/wireless/iwlegacy/iwl-4965-eeprom.c [moved from drivers/net/wireless/iwlwifi/iwl-legacy.h with 53% similarity]
drivers/net/wireless/iwlegacy/iwl-4965-hw.h [moved from drivers/net/wireless/iwlwifi/iwl-4965-hw.h with 97% similarity]
drivers/net/wireless/iwlegacy/iwl-4965-led.c [copied from drivers/net/wireless/iwlwifi/iwl-3945-led.c with 73% similarity]
drivers/net/wireless/iwlegacy/iwl-4965-led.h [copied from drivers/net/wireless/iwlwifi/iwl-3945-led.h with 81% similarity]
drivers/net/wireless/iwlegacy/iwl-4965-lib.c [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-4965-rs.c [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-4965-rx.c [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-4965-sta.c [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-4965-tx.c [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-4965-ucode.c [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-4965.c [moved from drivers/net/wireless/iwlwifi/iwl-4965.c with 71% similarity]
drivers/net/wireless/iwlegacy/iwl-4965.h [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-commands.h [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-core.c [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-core.h [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-csr.h [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-debug.h [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-debugfs.c [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-dev.h [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-devtrace.c [copied from drivers/net/wireless/iwlwifi/iwl-3945-led.h with 59% similarity]
drivers/net/wireless/iwlegacy/iwl-devtrace.h [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-eeprom.c [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-eeprom.h [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-fh.h [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-hcmd.c [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-helpers.h [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-io.h [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-led.c [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-led.h [moved from drivers/net/wireless/iwlwifi/iwl-3945-led.h with 59% similarity]
drivers/net/wireless/iwlegacy/iwl-legacy-rs.h [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-power.c [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-power.h [moved from drivers/net/wireless/iwlwifi/iwl-3945-led.c with 56% similarity]
drivers/net/wireless/iwlegacy/iwl-prph.h [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-rx.c [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-scan.c [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-spectrum.h [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-sta.c [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-sta.h [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl-tx.c [new file with mode: 0644]
drivers/net/wireless/iwlegacy/iwl3945-base.c [moved from drivers/net/wireless/iwlwifi/iwl3945-base.c with 90% similarity]
drivers/net/wireless/iwlegacy/iwl4965-base.c [new file with mode: 0644]
drivers/net/wireless/iwlwifi/Kconfig
drivers/net/wireless/iwlwifi/Makefile
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-core.c
drivers/net/wireless/iwlwifi/iwl-debugfs.c
drivers/net/wireless/iwlwifi/iwl-dev.h
drivers/net/wireless/iwlwifi/iwl-eeprom.c
drivers/net/wireless/iwlwifi/iwl-hcmd.c
drivers/net/wireless/iwlwifi/iwl-led.c
drivers/net/wireless/iwlwifi/iwl-legacy.c [deleted file]
drivers/net/wireless/iwlwifi/iwl-power.c
drivers/net/wireless/iwlwifi/iwl-rx.c
drivers/net/wireless/iwlwifi/iwl-scan.c
drivers/net/wireless/iwlwifi/iwl-sta.c
drivers/net/wireless/iwlwifi/iwl-tx.c