aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-core.h
diff options
context:
space:
mode:
authorAssaf Krauss <assaf.krauss@intel.com>2008-03-11 19:17:18 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-03-13 19:32:32 -0400
commit6bc913bd965e03b5273a5366eecce5c28c9b01da (patch)
treeebc5aee6b2eb48660ab555af62b4da0119bd8446 /drivers/net/wireless/iwlwifi/iwl-core.h
parenteb7ae89cb0b03e6e6e39737b1c8bcc1912281a00 (diff)
iwlwifi: Use eeprom form iwlcore
This patch puts in use eeprom from iwlcore module Signed-off-by: Assaf Krauss <assaf.krauss@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-core.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-core.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-core.h b/drivers/net/wireless/iwlwifi/iwl-core.h
index bdd32f891683..88fd49abdabd 100644
--- a/drivers/net/wireless/iwlwifi/iwl-core.h
+++ b/drivers/net/wireless/iwlwifi/iwl-core.h
@@ -75,10 +75,20 @@
75#define IWL_SKU_A 0x2 75#define IWL_SKU_A 0x2
76#define IWL_SKU_N 0x8 76#define IWL_SKU_N 0x8
77 77
78struct iwl_lib_ops {
79 /* eeprom operations (as defined in iwl-eeprom.h) */
80 struct iwl_eeprom_ops eeprom_ops;
81};
82
83struct iwl_ops {
84 const struct iwl_lib_ops *lib;
85};
86
78struct iwl_cfg { 87struct iwl_cfg {
79 const char *name; 88 const char *name;
80 const char *fw_name; 89 const char *fw_name;
81 unsigned int sku; 90 unsigned int sku;
91 const struct iwl_ops *ops;
82}; 92};
83 93
84#endif /* __iwl_core_h__ */ 94#endif /* __iwl_core_h__ */