diff options
author | James Smart <James.Smart@Emulex.Com> | 2006-08-01 07:34:08 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-08-06 12:28:55 -0400 |
commit | dca9479be891eac33e53ab37769e18c3259646da (patch) | |
tree | 56403501d56019fab9afef00a2eaf6d4133feb55 /drivers/scsi/lpfc/lpfc_hbadisc.c | |
parent | 8f6d98d2e05c38cb08fbda5e38e5f87d361c3cac (diff) |
[SCSI] lpfc 8.1.7 : ID String and Message fixes
ID String and Message fixes
- Fix switch symbolic name registration to match cross-OS values
- Replace printk's with more standard lpfc_printf_log calls
- Make all lpfc_printf_log message numbers unique
Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_hbadisc.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_hbadisc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/scsi/lpfc/lpfc_hbadisc.c b/drivers/scsi/lpfc/lpfc_hbadisc.c index 4d6cf990c4fc..1c3f2689155b 100644 --- a/drivers/scsi/lpfc/lpfc_hbadisc.c +++ b/drivers/scsi/lpfc/lpfc_hbadisc.c | |||
@@ -1782,7 +1782,7 @@ lpfc_findnode_did(struct lpfc_hba * phba, uint32_t order, uint32_t did) | |||
1782 | /* LOG change to REGLOGIN */ | 1782 | /* LOG change to REGLOGIN */ |
1783 | /* FIND node DID reglogin */ | 1783 | /* FIND node DID reglogin */ |
1784 | lpfc_printf_log(phba, KERN_INFO, LOG_NODE, | 1784 | lpfc_printf_log(phba, KERN_INFO, LOG_NODE, |
1785 | "%d:0931 FIND node DID reglogin" | 1785 | "%d:0901 FIND node DID reglogin" |
1786 | " Data: x%p x%x x%x x%x\n", | 1786 | " Data: x%p x%x x%x x%x\n", |
1787 | phba->brd_no, | 1787 | phba->brd_no, |
1788 | ndlp, ndlp->nlp_DID, | 1788 | ndlp, ndlp->nlp_DID, |
@@ -1805,7 +1805,7 @@ lpfc_findnode_did(struct lpfc_hba * phba, uint32_t order, uint32_t did) | |||
1805 | /* LOG change to PRLI */ | 1805 | /* LOG change to PRLI */ |
1806 | /* FIND node DID prli */ | 1806 | /* FIND node DID prli */ |
1807 | lpfc_printf_log(phba, KERN_INFO, LOG_NODE, | 1807 | lpfc_printf_log(phba, KERN_INFO, LOG_NODE, |
1808 | "%d:0931 FIND node DID prli " | 1808 | "%d:0902 FIND node DID prli " |
1809 | "Data: x%p x%x x%x x%x\n", | 1809 | "Data: x%p x%x x%x x%x\n", |
1810 | phba->brd_no, | 1810 | phba->brd_no, |
1811 | ndlp, ndlp->nlp_DID, | 1811 | ndlp, ndlp->nlp_DID, |
@@ -1828,7 +1828,7 @@ lpfc_findnode_did(struct lpfc_hba * phba, uint32_t order, uint32_t did) | |||
1828 | /* LOG change to NPR */ | 1828 | /* LOG change to NPR */ |
1829 | /* FIND node DID npr */ | 1829 | /* FIND node DID npr */ |
1830 | lpfc_printf_log(phba, KERN_INFO, LOG_NODE, | 1830 | lpfc_printf_log(phba, KERN_INFO, LOG_NODE, |
1831 | "%d:0931 FIND node DID npr " | 1831 | "%d:0903 FIND node DID npr " |
1832 | "Data: x%p x%x x%x x%x\n", | 1832 | "Data: x%p x%x x%x x%x\n", |
1833 | phba->brd_no, | 1833 | phba->brd_no, |
1834 | ndlp, ndlp->nlp_DID, | 1834 | ndlp, ndlp->nlp_DID, |
@@ -1851,7 +1851,7 @@ lpfc_findnode_did(struct lpfc_hba * phba, uint32_t order, uint32_t did) | |||
1851 | /* LOG change to UNUSED */ | 1851 | /* LOG change to UNUSED */ |
1852 | /* FIND node DID unused */ | 1852 | /* FIND node DID unused */ |
1853 | lpfc_printf_log(phba, KERN_INFO, LOG_NODE, | 1853 | lpfc_printf_log(phba, KERN_INFO, LOG_NODE, |
1854 | "%d:0931 FIND node DID unused " | 1854 | "%d:0905 FIND node DID unused " |
1855 | "Data: x%p x%x x%x x%x\n", | 1855 | "Data: x%p x%x x%x x%x\n", |
1856 | phba->brd_no, | 1856 | phba->brd_no, |
1857 | ndlp, ndlp->nlp_DID, | 1857 | ndlp, ndlp->nlp_DID, |
@@ -2335,7 +2335,7 @@ lpfc_disc_timeout_handler(struct lpfc_hba *phba) | |||
2335 | initlinkmbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); | 2335 | initlinkmbox = mempool_alloc(phba->mbox_mem_pool, GFP_KERNEL); |
2336 | if (!initlinkmbox) { | 2336 | if (!initlinkmbox) { |
2337 | lpfc_printf_log(phba, KERN_ERR, LOG_DISCOVERY, | 2337 | lpfc_printf_log(phba, KERN_ERR, LOG_DISCOVERY, |
2338 | "%d:0226 Device Discovery " | 2338 | "%d:0206 Device Discovery " |
2339 | "completion error\n", | 2339 | "completion error\n", |
2340 | phba->brd_no); | 2340 | phba->brd_no); |
2341 | phba->hba_state = LPFC_HBA_ERROR; | 2341 | phba->hba_state = LPFC_HBA_ERROR; |
@@ -2365,7 +2365,7 @@ lpfc_disc_timeout_handler(struct lpfc_hba *phba) | |||
2365 | if (!clearlambox) { | 2365 | if (!clearlambox) { |
2366 | clrlaerr = 1; | 2366 | clrlaerr = 1; |
2367 | lpfc_printf_log(phba, KERN_ERR, LOG_DISCOVERY, | 2367 | lpfc_printf_log(phba, KERN_ERR, LOG_DISCOVERY, |
2368 | "%d:0226 Device Discovery " | 2368 | "%d:0207 Device Discovery " |
2369 | "completion error\n", | 2369 | "completion error\n", |
2370 | phba->brd_no); | 2370 | phba->brd_no); |
2371 | phba->hba_state = LPFC_HBA_ERROR; | 2371 | phba->hba_state = LPFC_HBA_ERROR; |