mirror of
https://github.com/torvalds/linux.git
synced 2026-05-05 23:05:25 -04:00
wifi: iwlwifi: pcie: move generation specific files to a folder
As a new generation of pcie is going to be written, we will need a folder for each generation. Since gen1 and gen2 code is tightly coupled and has with shared logic - it is not really separable. Put the code of both in one folder. Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com> Link: https://patch.msgid.link/20250609211928.bb0757c326c5.I66345c2b3fda55dcb8ff779c64de72d5c19f6649@changeid
This commit is contained in:
@@ -7,9 +7,11 @@ iwlwifi-objs += iwl-debug.o
|
||||
iwlwifi-objs += iwl-nvm-utils.o
|
||||
iwlwifi-objs += iwl-utils.o
|
||||
iwlwifi-objs += iwl-phy-db.o iwl-nvm-parse.o
|
||||
iwlwifi-objs += pcie/drv.o pcie/rx.o pcie/tx.o pcie/trans.o
|
||||
iwlwifi-objs += pcie/ctxt-info.o pcie/ctxt-info-v2.o
|
||||
iwlwifi-objs += pcie/trans-gen2.o pcie/tx-gen2.o
|
||||
|
||||
# Bus
|
||||
iwlwifi-objs += pcie/ctxt-info.o pcie/ctxt-info-v2.o pcie/drv.o
|
||||
iwlwifi-objs += pcie/gen1_2/rx.o pcie/gen1_2/tx.o pcie/gen1_2/trans.o
|
||||
iwlwifi-objs += pcie/gen1_2/trans-gen2.o pcie/gen1_2/tx-gen2.o
|
||||
|
||||
CFLAGS_pcie/drv.o += -Wno-override-init
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#include "iwl-fh.h"
|
||||
#include <linux/dmapool.h>
|
||||
#include "fw/api/commands.h"
|
||||
#include "pcie/internal.h"
|
||||
#include "pcie/gen1_2/internal.h"
|
||||
#include "pcie/iwl-context-info-v2.h"
|
||||
|
||||
struct iwl_trans_dev_restart_data {
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include "iwl-trans.h"
|
||||
#include "iwl-fh.h"
|
||||
#include "iwl-context-info-v2.h"
|
||||
#include "internal.h"
|
||||
#include "gen1_2/internal.h"
|
||||
#include "iwl-prph.h"
|
||||
|
||||
static const struct dmi_system_id dmi_force_scu_active_approved_list[] = {
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#include "iwl-trans.h"
|
||||
#include "iwl-fh.h"
|
||||
#include "iwl-context-info.h"
|
||||
#include "internal.h"
|
||||
#include "gen1_2/internal.h"
|
||||
#include "iwl-prph.h"
|
||||
|
||||
static void *_iwl_pcie_ctxt_info_dma_alloc_coherent(struct iwl_trans *trans,
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#include "iwl-trans.h"
|
||||
#include "iwl-drv.h"
|
||||
#include "iwl-prph.h"
|
||||
#include "internal.h"
|
||||
#include "gen1_2/internal.h"
|
||||
|
||||
#define _IS_A(cfg, _struct) __builtin_types_compatible_p(typeof(cfg), \
|
||||
struct _struct)
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#include "iwl-io.h"
|
||||
#include "iwl-op-mode.h"
|
||||
#include "iwl-drv.h"
|
||||
#include "iwl-context-info.h"
|
||||
#include "pcie/iwl-context-info.h"
|
||||
|
||||
/*
|
||||
* RX related structures and functions
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "iwl-io.h"
|
||||
#include "internal.h"
|
||||
#include "iwl-op-mode.h"
|
||||
#include "iwl-context-info-v2.h"
|
||||
#include "pcie/iwl-context-info-v2.h"
|
||||
#include "fw/dbg.h"
|
||||
|
||||
/******************************************************************************
|
||||
@@ -5,8 +5,8 @@
|
||||
*/
|
||||
#include "iwl-trans.h"
|
||||
#include "iwl-prph.h"
|
||||
#include "iwl-context-info.h"
|
||||
#include "iwl-context-info-v2.h"
|
||||
#include "pcie/iwl-context-info.h"
|
||||
#include "pcie/iwl-context-info-v2.h"
|
||||
#include "internal.h"
|
||||
#include "fw/dbg.h"
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
#include "mei/iwl-mei.h"
|
||||
#include "internal.h"
|
||||
#include "iwl-fh.h"
|
||||
#include "iwl-context-info-v2.h"
|
||||
#include "pcie/iwl-context-info-v2.h"
|
||||
|
||||
/* extended range in FW SRAM */
|
||||
#define IWL_FW_MEM_EXTENDED_START 0x40000
|
||||
Reference in New Issue
Block a user