aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWey-Yi Guy <wey-yi.w.guy@intel.com>2011-06-06 17:26:38 -0400
committerWey-Yi Guy <wey-yi.w.guy@intel.com>2011-06-11 10:10:32 -0400
commit06bb83589c4feac9bbb8d0d27d72f9d346f770c0 (patch)
treeea54608dbbc1dc3810513ca38b555444f98868e7
parentf38f884b3b291c895d1033f02e351532d1d3f1dc (diff)
iwlagn: use IWL_DEBUG_FW for firmware related debug msg
Instead use generic IWL_DEBUG_INFO, use IWL_DEBUG_FW for uCode related stuffs. Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-agn-ucode.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-ucode.c b/drivers/net/wireless/iwlwifi/iwl-agn-ucode.c
index a5cb1f635637..e916157bd145 100644
--- a/drivers/net/wireless/iwlwifi/iwl-agn-ucode.c
+++ b/drivers/net/wireless/iwlwifi/iwl-agn-ucode.c
@@ -143,7 +143,7 @@ static int iwlagn_load_section(struct iwl_priv *priv, const char *name,
143 FH_TCSR_TX_CONFIG_REG_VAL_DMA_CREDIT_DISABLE | 143 FH_TCSR_TX_CONFIG_REG_VAL_DMA_CREDIT_DISABLE |
144 FH_TCSR_TX_CONFIG_REG_VAL_CIRQ_HOST_ENDTFD); 144 FH_TCSR_TX_CONFIG_REG_VAL_CIRQ_HOST_ENDTFD);
145 145
146 IWL_DEBUG_INFO(priv, "%s uCode section being loaded...\n", name); 146 IWL_DEBUG_FW(priv, "%s uCode section being loaded...\n", name);
147 ret = wait_event_interruptible_timeout(priv->wait_command_queue, 147 ret = wait_event_interruptible_timeout(priv->wait_command_queue,
148 priv->ucode_write_complete, 5 * HZ); 148 priv->ucode_write_complete, 5 * HZ);
149 if (ret == -ERESTARTSYS) { 149 if (ret == -ERESTARTSYS) {
@@ -508,7 +508,7 @@ static int iwlcore_verify_inst_sparse(struct iwl_priv *priv,
508 u32 val; 508 u32 val;
509 u32 i; 509 u32 i;
510 510
511 IWL_DEBUG_INFO(priv, "ucode inst image size is %u\n", len); 511 IWL_DEBUG_FW(priv, "ucode inst image size is %u\n", len);
512 512
513 for (i = 0; i < len; i += 100, image += 100/sizeof(u32)) { 513 for (i = 0; i < len; i += 100, image += 100/sizeof(u32)) {
514 /* read data comes through single port, auto-incr addr */ 514 /* read data comes through single port, auto-incr addr */
@@ -533,7 +533,7 @@ static void iwl_print_mismatch_inst(struct iwl_priv *priv,
533 u32 offs; 533 u32 offs;
534 int errors = 0; 534 int errors = 0;
535 535
536 IWL_DEBUG_INFO(priv, "ucode inst image size is %u\n", len); 536 IWL_DEBUG_FW(priv, "ucode inst image size is %u\n", len);
537 537
538 iwl_write_direct32(priv, HBUS_TARG_MEM_RADDR, 538 iwl_write_direct32(priv, HBUS_TARG_MEM_RADDR,
539 IWLAGN_RTC_INST_LOWER_BOUND); 539 IWLAGN_RTC_INST_LOWER_BOUND);
@@ -559,7 +559,7 @@ static void iwl_print_mismatch_inst(struct iwl_priv *priv,
559static int iwl_verify_ucode(struct iwl_priv *priv, struct fw_img *img) 559static int iwl_verify_ucode(struct iwl_priv *priv, struct fw_img *img)
560{ 560{
561 if (!iwlcore_verify_inst_sparse(priv, &img->code)) { 561 if (!iwlcore_verify_inst_sparse(priv, &img->code)) {
562 IWL_DEBUG_INFO(priv, "uCode is good in inst SRAM\n"); 562 IWL_DEBUG_FW(priv, "uCode is good in inst SRAM\n");
563 return 0; 563 return 0;
564 } 564 }
565 565
@@ -583,7 +583,7 @@ static void iwlagn_alive_fn(struct iwl_priv *priv,
583 583
584 palive = &pkt->u.alive_frame; 584 palive = &pkt->u.alive_frame;
585 585
586 IWL_DEBUG_INFO(priv, "Alive ucode status 0x%08X revision " 586 IWL_DEBUG_FW(priv, "Alive ucode status 0x%08X revision "
587 "0x%01X 0x%01X\n", 587 "0x%01X 0x%01X\n",
588 palive->is_valid, palive->ver_type, 588 palive->is_valid, palive->ver_type,
589 palive->ver_subtype); 589 palive->ver_subtype);