Commit d962f9b1 authored by Johannes Berg's avatar Johannes Berg Committed by Luca Coelho

iwlwifi: create new subdirectory for FW interaction

There's a lot of mvm code that really should be more generic
and part of the iwlwifi module. Start by making a place to
keep such code - in the new "fw" subdirectory - and already
move the firmware related header files there.
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent b4f48985
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
#include <linux/slab.h> #include <linux/slab.h>
#include <linux/mutex.h> #include <linux/mutex.h>
#include "iwl-fw.h" #include "fw/img.h"
#include "iwl-eeprom-parse.h" #include "iwl-eeprom-parse.h"
#include "iwl-csr.h" #include "iwl-csr.h"
#include "iwl-debug.h" #include "iwl-debug.h"
......
...@@ -64,12 +64,12 @@ ...@@ -64,12 +64,12 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*****************************************************************************/ *****************************************************************************/
#ifndef __iwl_fw_h__ #ifndef __iwl_fw_img_h__
#define __iwl_fw_h__ #define __iwl_fw_img_h__
#include <linux/types.h> #include <linux/types.h>
#include "iwl-fw-file.h" #include "file.h"
#include "iwl-fw-error-dump.h" #include "error-dump.h"
/** /**
* enum iwl_ucode_type * enum iwl_ucode_type
...@@ -339,4 +339,4 @@ iwl_get_ucode_image(const struct iwl_fw *fw, enum iwl_ucode_type ucode_type) ...@@ -339,4 +339,4 @@ iwl_get_ucode_image(const struct iwl_fw *fw, enum iwl_ucode_type ucode_type)
return &fw->img[ucode_type]; return &fw->img[ucode_type];
} }
#endif /* __iwl_fw_h__ */ #endif /* __iwl_fw_img_h__ */
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
#include "iwl-trans.h" #include "iwl-trans.h"
#include "iwl-op-mode.h" #include "iwl-op-mode.h"
#include "iwl-agn-hw.h" #include "iwl-agn-hw.h"
#include "iwl-fw.h" #include "fw/img.h"
#include "iwl-config.h" #include "iwl-config.h"
#include "iwl-modparams.h" #include "iwl-modparams.h"
......
...@@ -74,9 +74,9 @@ ...@@ -74,9 +74,9 @@
#include "iwl-debug.h" #include "iwl-debug.h"
#include "iwl-config.h" #include "iwl-config.h"
#include "iwl-fw.h" #include "fw/img.h"
#include "iwl-op-mode.h" #include "iwl-op-mode.h"
#include "iwl-fw-api.h" #include "fw/api.h"
/** /**
* DOC: Transport layer - what is it ? * DOC: Transport layer - what is it ?
......
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
#include "sta.h" #include "sta.h"
#include "iwl-io.h" #include "iwl-io.h"
#include "debugfs.h" #include "debugfs.h"
#include "iwl-fw-error-dump.h" #include "fw/error-dump.h"
static ssize_t iwl_dbgfs_ctdp_budget_read(struct file *file, static ssize_t iwl_dbgfs_ctdp_budget_read(struct file *file,
char __user *user_buf, char __user *user_buf,
......
...@@ -65,8 +65,8 @@ ...@@ -65,8 +65,8 @@
#ifndef __mvm_fw_dbg_h__ #ifndef __mvm_fw_dbg_h__
#define __mvm_fw_dbg_h__ #define __mvm_fw_dbg_h__
#include "iwl-fw-file.h" #include "fw/file.h"
#include "iwl-fw-error-dump.h" #include "fw/error-dump.h"
#include "mvm.h" #include "mvm.h"
void iwl_mvm_fw_error_dump(struct iwl_mvm *mvm); void iwl_mvm_fw_error_dump(struct iwl_mvm *mvm);
......
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
#include "iwl-trans.h" #include "iwl-trans.h"
#include "iwl-op-mode.h" #include "iwl-op-mode.h"
#include "iwl-fw.h" #include "fw/img.h"
#include "iwl-debug.h" #include "iwl-debug.h"
#include "iwl-csr.h" /* for iwl_mvm_rx_card_state_notif */ #include "iwl-csr.h" /* for iwl_mvm_rx_card_state_notif */
#include "iwl-io.h" /* for iwl_mvm_rx_card_state_notif */ #include "iwl-io.h" /* for iwl_mvm_rx_card_state_notif */
......
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
#include "iwl-eeprom-parse.h" #include "iwl-eeprom-parse.h"
#include "iwl-phy-db.h" #include "iwl-phy-db.h"
#include "testmode.h" #include "testmode.h"
#include "iwl-fw-error-dump.h" #include "fw/error-dump.h"
#include "iwl-prph.h" #include "iwl-prph.h"
#include "iwl-nvm-parse.h" #include "iwl-nvm-parse.h"
#include "fw-dbg.h" #include "fw-dbg.h"
......
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
#include "iwl-trans.h" #include "iwl-trans.h"
#include "iwl-notif-wait.h" #include "iwl-notif-wait.h"
#include "iwl-eeprom-parse.h" #include "iwl-eeprom-parse.h"
#include "iwl-fw-file.h" #include "fw/file.h"
#include "iwl-config.h" #include "iwl-config.h"
#include "sta.h" #include "sta.h"
#include "fw-api.h" #include "fw-api.h"
......
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
#include "iwl-notif-wait.h" #include "iwl-notif-wait.h"
#include "iwl-trans.h" #include "iwl-trans.h"
#include "iwl-op-mode.h" #include "iwl-op-mode.h"
#include "iwl-fw.h" #include "fw/img.h"
#include "iwl-debug.h" #include "iwl-debug.h"
#include "iwl-drv.h" #include "iwl-drv.h"
#include "iwl-modparams.h" #include "iwl-modparams.h"
......
...@@ -80,7 +80,7 @@ ...@@ -80,7 +80,7 @@
#include "iwl-prph.h" #include "iwl-prph.h"
#include "iwl-scd.h" #include "iwl-scd.h"
#include "iwl-agn-hw.h" #include "iwl-agn-hw.h"
#include "iwl-fw-error-dump.h" #include "fw/error-dump.h"
#include "internal.h" #include "internal.h"
#include "iwl-fh.h" #include "iwl-fh.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment