aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ibmvscsi/ibmvfc.h
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2010-09-09 17:20:42 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-09-16 22:54:13 -0400
commitd99e5f488ae28d9dfccc84435f4fd29bd1fe1b9b (patch)
tree5ffe7c2218d2ffd563505bd9612656f223f6dbb1 /drivers/scsi/ibmvscsi/ibmvfc.h
parente6a4202aa920a25db76f0e02dabe133179293ec0 (diff)
[SCSI] ibmvfc: Log link up/down events
By default, ibmvfc does not log any async events in order to avoid flooding the log with them. Improve on this by logging by default events that are not likely to flood the log, such as link up/down. Having these events in the log will improve the ability to debug issues with ibmvfc. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/ibmvscsi/ibmvfc.h')
-rw-r--r--drivers/scsi/ibmvscsi/ibmvfc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvfc.h b/drivers/scsi/ibmvscsi/ibmvfc.h
index 608af394c8cf..ef663e7c9bbc 100644
--- a/drivers/scsi/ibmvscsi/ibmvfc.h
+++ b/drivers/scsi/ibmvscsi/ibmvfc.h
@@ -541,6 +541,12 @@ enum ibmvfc_async_event {
541 IBMVFC_AE_ADAPTER_FAILED = 0x1000, 541 IBMVFC_AE_ADAPTER_FAILED = 0x1000,
542}; 542};
543 543
544struct ibmvfc_async_desc {
545 enum ibmvfc_async_event ae;
546 const char *desc;
547 int log_level;
548};
549
544struct ibmvfc_crq { 550struct ibmvfc_crq {
545 volatile u8 valid; 551 volatile u8 valid;
546 volatile u8 format; 552 volatile u8 format;