linux/drivers/net/wireless/intel/iwlwifi
Luca Coelho 0c18714a0d iwlwifi: pcie: set iwl_trans->cfg later in the probe function
Instead of setting the cfg to iwl_trans already during allocation, set
it only later when we have had the time to decide which cfg to use.
This is part of the effort to be able to decide the cfg based on HW
revision and RF ID after iwl_trans_alloc() has been called.

For now, since we still have a bunch of code checking the HW revision
and the RF ID, we set iwl_trans->cfg early, even before we decided the
real cfg to use.  We only use the trans configuration at this point,
so this is fine for now.  In the future, the trans configuration will
be completely independent from the rest of the config structure, so
we'll be able to avoid this.

Additionally, we can't access the PRPH registers in iwl_trans_alloc()
anymore, so move the HW REV C-step check for family 8000 code later to
the probe function as well.  This step is probably not necessary, but
if that's the case it should be removed separately later on.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
2019-09-06 15:51:01 +03:00
..
cfg iwlwifi: separate elements from cfg that are needed by trans_alloc 2019-09-06 15:34:25 +03:00
dvm iwlwifi: separate elements from cfg that are needed by trans_alloc 2019-09-06 15:34:25 +03:00
fw iwlwifi: separate elements from cfg that are needed by trans_alloc 2019-09-06 15:34:25 +03:00
mvm iwlwifi: separate elements from cfg that are needed by trans_alloc 2019-09-06 15:34:25 +03:00
pcie iwlwifi: pcie: set iwl_trans->cfg later in the probe function 2019-09-06 15:51:01 +03:00
iwl-agn-hw.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-config.h iwlwifi: separate elements from cfg that are needed by trans_alloc 2019-09-06 15:34:25 +03:00
iwl-context-info-gen3.h
iwl-context-info.h iwlwifi: pcie: set RB size according to user settings 2018-09-28 08:57:27 +03:00
iwl-csr.h iwlwifi: pcie: add support for qu c-step devices 2019-07-15 20:46:00 +03:00
iwl-dbg-tlv.c iwlwifi: dbg_ini: separate cfg and dump flows to different modules 2019-09-06 15:31:22 +03:00
iwl-dbg-tlv.h iwlwifi: dbg_ini: separate cfg and dump flows to different modules 2019-09-06 15:31:22 +03:00
iwl-debug.c iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-debug.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 322 2019-06-05 17:37:05 +02:00
iwl-devtrace-data.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 322 2019-06-05 17:37:05 +02:00
iwl-devtrace-io.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 322 2019-06-05 17:37:05 +02:00
iwl-devtrace-iwlwifi.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 322 2019-06-05 17:37:05 +02:00
iwl-devtrace-msg.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 322 2019-06-05 17:37:05 +02:00
iwl-devtrace-ucode.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 322 2019-06-05 17:37:05 +02:00
iwl-devtrace.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 322 2019-06-05 17:37:05 +02:00
iwl-devtrace.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 322 2019-06-05 17:37:05 +02:00
iwl-drv.c iwlwifi: separate elements from cfg that are needed by trans_alloc 2019-09-06 15:34:25 +03:00
iwl-drv.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-eeprom-parse.c iwlwifi: separate elements from cfg that are needed by trans_alloc 2019-09-06 15:34:25 +03:00
iwl-eeprom-parse.h iwlwifi: move iwl_nvm_check_version() into dvm 2018-12-14 13:04:46 +02:00
iwl-eeprom-read.c iwlwifi: separate elements from cfg that are needed by trans_alloc 2019-09-06 15:34:25 +03:00
iwl-eeprom-read.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-fh.h iwlwifi: separate elements from cfg that are needed by trans_alloc 2019-09-06 15:34:25 +03:00
iwl-io.c iwlwifi: separate elements from cfg that are needed by trans_alloc 2019-09-06 15:34:25 +03:00
iwl-io.h iwlwifi: separate elements from cfg that are needed by trans_alloc 2019-09-06 15:34:25 +03:00
iwl-modparams.h iwlwifi: remove the d0i3 related module parameters 2019-09-06 15:31:17 +03:00
iwl-nvm-parse.c iwlwifi: separate elements from cfg that are needed by trans_alloc 2019-09-06 15:34:25 +03:00
iwl-nvm-parse.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-op-mode.h iwlwifi: remove the opmode's d0i3 handlers 2019-09-06 15:31:16 +03:00
iwl-phy-db.c iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-phy-db.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-prph.h iwlwifi: print fseq info upon fw assert 2019-06-01 08:04:48 +03:00
iwl-scd.h iwlwifi: remove all occurrences of the FSF address paragraph 2018-08-31 11:38:33 +03:00
iwl-trans.c iwlwifi: pcie: set iwl_trans->cfg later in the probe function 2019-09-06 15:51:01 +03:00
iwl-trans.h iwlwifi: pcie: set iwl_trans->cfg later in the probe function 2019-09-06 15:51:01 +03:00
Kconfig iwlwifi: remove the code under IWLWIFI_PCIE_RTPM 2019-09-06 15:31:15 +03:00
Makefile iwlwifi: trans: parse and store debug ini TLVs 2018-11-23 13:01:06 +02:00