提交 a2c89bbc 编写于 作者: C Ching Huang 提交者: Christoph Hellwig

arcmsr: modify printing adapter model number and F/W messages

Adjust printing order of adapter model name and firmware version.
Signed-off-by: NChing Huang <ching2048@areca.com.tw>
Reviewed-by: NTomas Henzl <thenzl@redhat.com>
Signed-off-by: NChristoph Hellwig <hch@lst.de>
上级 a5849726
...@@ -2207,10 +2207,10 @@ static bool arcmsr_get_hba_config(struct AdapterControlBlock *acb) ...@@ -2207,10 +2207,10 @@ static bool arcmsr_get_hba_config(struct AdapterControlBlock *acb)
iop_device_map++; iop_device_map++;
count--; count--;
} }
printk(KERN_NOTICE "Areca RAID Controller%d: F/W %s & Model %s\n", pr_notice("Areca RAID Controller%d: Model %s, F/W %s\n",
acb->host->host_no, acb->host->host_no,
acb->firm_version, acb->firm_model,
acb->firm_model); acb->firm_version);
acb->signature = readl(&reg->message_rwbuffer[0]); acb->signature = readl(&reg->message_rwbuffer[0]);
acb->firm_request_len = readl(&reg->message_rwbuffer[1]); acb->firm_request_len = readl(&reg->message_rwbuffer[1]);
acb->firm_numbers_queue = readl(&reg->message_rwbuffer[2]); acb->firm_numbers_queue = readl(&reg->message_rwbuffer[2]);
...@@ -2283,10 +2283,10 @@ static bool arcmsr_get_hbb_config(struct AdapterControlBlock *acb) ...@@ -2283,10 +2283,10 @@ static bool arcmsr_get_hbb_config(struct AdapterControlBlock *acb)
count--; count--;
} }
printk(KERN_NOTICE "Areca RAID Controller%d: F/W %s & Model %s\n", pr_notice("Areca RAID Controller%d: Model %s, F/W %s\n",
acb->host->host_no, acb->host->host_no,
acb->firm_version, acb->firm_model,
acb->firm_model); acb->firm_version);
acb->signature = readl(&reg->message_rwbuffer[1]); acb->signature = readl(&reg->message_rwbuffer[1]);
/*firm_signature,1,00-03*/ /*firm_signature,1,00-03*/
...@@ -2349,10 +2349,10 @@ static bool arcmsr_get_hbc_config(struct AdapterControlBlock *pACB) ...@@ -2349,10 +2349,10 @@ static bool arcmsr_get_hbc_config(struct AdapterControlBlock *pACB)
iop_firm_version++; iop_firm_version++;
count--; count--;
} }
printk(KERN_NOTICE "Areca RAID Controller%d: F/W %s & Model %s\n", pr_notice("Areca RAID Controller%d: Model %s, F/W %s\n",
pACB->host->host_no, pACB->host->host_no,
pACB->firm_version, pACB->firm_model,
pACB->firm_model); pACB->firm_version);
pACB->firm_request_len = readl(&reg->msgcode_rwbuffer[1]); /*firm_request_len,1,04-07*/ pACB->firm_request_len = readl(&reg->msgcode_rwbuffer[1]); /*firm_request_len,1,04-07*/
pACB->firm_numbers_queue = readl(&reg->msgcode_rwbuffer[2]); /*firm_numbers_queue,2,08-11*/ pACB->firm_numbers_queue = readl(&reg->msgcode_rwbuffer[2]); /*firm_numbers_queue,2,08-11*/
pACB->firm_sdram_size = readl(&reg->msgcode_rwbuffer[3]); /*firm_sdram_size,3,12-15*/ pACB->firm_sdram_size = readl(&reg->msgcode_rwbuffer[3]); /*firm_sdram_size,3,12-15*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册