aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2008-08-15 11:59:27 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-08-16 11:49:16 -0400
commit3e3399467d4c4aefe6a24225b5b277cf7d6e58a7 (patch)
tree44d2eab875bbbb3808de1279b3568e5a6f351d1c /drivers/scsi
parent2bac406df52100aec42e230a2cc2986d34e86218 (diff)
[SCSI] ibmvfc: Add details to async event log
When logging async events, also print the payload in addition to the event received. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/ibmvscsi/ibmvfc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvfc.c b/drivers/scsi/ibmvscsi/ibmvfc.c
index 6ecc0ddd4440..4e0b7c8eb32e 100644
--- a/drivers/scsi/ibmvscsi/ibmvfc.c
+++ b/drivers/scsi/ibmvscsi/ibmvfc.c
@@ -2084,7 +2084,8 @@ static void ibmvfc_handle_async(struct ibmvfc_async_crq *crq,
2084{ 2084{
2085 const char *desc = ibmvfc_get_ae_desc(crq->event); 2085 const char *desc = ibmvfc_get_ae_desc(crq->event);
2086 2086
2087 ibmvfc_log(vhost, 3, "%s event received\n", desc); 2087 ibmvfc_log(vhost, 3, "%s event received. scsi_id: %lx, wwpn: %lx,"
2088 " node_name: %lx\n", desc, crq->scsi_id, crq->wwpn, crq->node_name);
2088 2089
2089 switch (crq->event) { 2090 switch (crq->event) {
2090 case IBMVFC_AE_LINK_UP: 2091 case IBMVFC_AE_LINK_UP: