aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/iwl-prph.h
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2011-10-24 09:41:30 -0400
committerStanislaw Gruszka <sgruszka@redhat.com>2011-11-15 05:16:58 -0500
commite2ebc8337d116acdc25469ec8547ae665f50a4c1 (patch)
treecf4401fdbf6dabbd2731d90e3105c1ebbf60f87d /drivers/net/wireless/iwlegacy/iwl-prph.h
parentfee005e5dd82a43546c1b1beb187e82415360940 (diff)
iwlegacy: rename iwl to il
iwl_legacy prefix result in long function names, what cause that we have frequent line split and not readable code. Also iwl_foo symbols are duplicated in iwlwifi driver, what is annoying when editing kernel tree with cscope. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/iwl-prph.h')
-rw-r--r--drivers/net/wireless/iwlegacy/iwl-prph.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/net/wireless/iwlegacy/iwl-prph.h b/drivers/net/wireless/iwlegacy/iwl-prph.h
index 30a493003ab0..96788a128a61 100644
--- a/drivers/net/wireless/iwlegacy/iwl-prph.h
+++ b/drivers/net/wireless/iwlegacy/iwl-prph.h
@@ -60,8 +60,8 @@
60 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 60 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
61 *****************************************************************************/ 61 *****************************************************************************/
62 62
63#ifndef __iwl_legacy_prph_h__ 63#ifndef __il_prph_h__
64#define __iwl_legacy_prph_h__ 64#define __il_prph_h__
65 65
66/* 66/*
67 * Registers in this file are internal, not PCI bus memory mapped. 67 * Registers in this file are internal, not PCI bus memory mapped.
@@ -120,13 +120,13 @@
120 * 120 *
121 * 1) Initialization -- performs hardware calibration and sets up some 121 * 1) Initialization -- performs hardware calibration and sets up some
122 * internal data, then notifies host via "initialize alive" notification 122 * internal data, then notifies host via "initialize alive" notification
123 * (struct iwl_init_alive_resp) that it has completed all of its work. 123 * (struct il_init_alive_resp) that it has completed all of its work.
124 * After signal from host, it then loads and starts the runtime program. 124 * After signal from host, it then loads and starts the runtime program.
125 * The initialization program must be used when initially setting up the 125 * The initialization program must be used when initially setting up the
126 * NIC after loading the driver. 126 * NIC after loading the driver.
127 * 127 *
128 * 2) Runtime/Protocol -- performs all normal runtime operations. This 128 * 2) Runtime/Protocol -- performs all normal runtime operations. This
129 * notifies host via "alive" notification (struct iwl_alive_resp) that it 129 * notifies host via "alive" notification (struct il_alive_resp) that it
130 * is ready to be used. 130 * is ready to be used.
131 * 131 *
132 * When initializing the NIC, the host driver does the following procedure: 132 * When initializing the NIC, the host driver does the following procedure:
@@ -287,7 +287,7 @@
287 * Tx completion may end up being out-of-order). 287 * Tx completion may end up being out-of-order).
288 * 288 *
289 * The driver must maintain the queue's Byte Count table in host DRAM 289 * The driver must maintain the queue's Byte Count table in host DRAM
290 * (struct iwl4965_sched_queue_byte_cnt_tbl) for this mode. 290 * (struct il4965_sched_queue_byte_cnt_tbl) for this mode.
291 * This mode does not support fragmentation. 291 * This mode does not support fragmentation.
292 * 292 *
293 * 2) FIFO (a.k.a. non-Scheduler-ACK), in which each TFD is processed in order. 293 * 2) FIFO (a.k.a. non-Scheduler-ACK), in which each TFD is processed in order.
@@ -514,10 +514,10 @@
514#define IWL49_SCD_TRANSLATE_TBL_OFFSET_QUEUE(x) \ 514#define IWL49_SCD_TRANSLATE_TBL_OFFSET_QUEUE(x) \
515 ((IWL49_SCD_TRANSLATE_TBL_OFFSET + ((x) * 2)) & 0xfffffffc) 515 ((IWL49_SCD_TRANSLATE_TBL_OFFSET + ((x) * 2)) & 0xfffffffc)
516 516
517#define IWL_SCD_TXFIFO_POS_TID (0) 517#define IL_SCD_TXFIFO_POS_TID (0)
518#define IWL_SCD_TXFIFO_POS_RA (4) 518#define IL_SCD_TXFIFO_POS_RA (4)
519#define IWL_SCD_QUEUE_RA_TID_MAP_RATID_MSK (0x01FF) 519#define IL_SCD_QUEUE_RA_TID_MAP_RATID_MSK (0x01FF)
520 520
521/*********************** END TX SCHEDULER *************************************/ 521/*********************** END TX SCHEDULER *************************************/
522 522
523#endif /* __iwl_legacy_prph_h__ */ 523#endif /* __il_prph_h__ */