summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ipr.h
diff options
context:
space:
mode:
authorBrian King <brking@us.ibm.com>2006-11-21 10:28:42 -0600
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-11-22 12:22:01 -0600
commitac719abab0fbe2b83dc99351f6605645aef814ab (patch)
tree6730c2b9c7985cb1a7ab9a3efaeb3d4f6302a96f /drivers/scsi/ipr.h
parent49dc6a18185c12bae4980d17512fbe54ca6bae54 (diff)
downloadlinux-ac719abab0fbe2b83dc99351f6605645aef814ab.tar.gz
linux-ac719abab0fbe2b83dc99351f6605645aef814ab.tar.bz2
linux-ac719abab0fbe2b83dc99351f6605645aef814ab.zip
[SCSI] ipr: Reduce default error log size
Since the default error log size has increased on SAS adapters, prevent ipr from logging this additional data unless requested to do so by the user set log level in order to prevent flooding the logs. Signed-off-by: Brian King <brking@us.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/ipr.h')
-rw-r--r--drivers/scsi/ipr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/ipr.h b/drivers/scsi/ipr.h
index 44b15e4b6edf..397e502bd0f1 100644
--- a/drivers/scsi/ipr.h
+++ b/drivers/scsi/ipr.h
@@ -104,6 +104,7 @@
#define IPR_IOASC_IOA_WAS_RESET 0x10000001
#define IPR_IOASC_PCI_ACCESS_ERROR 0x10000002
+#define IPR_DEFAULT_MAX_ERROR_DUMP 984
#define IPR_NUM_LOG_HCAMS 2
#define IPR_NUM_CFG_CHG_HCAMS 2
#define IPR_NUM_HCAMS (IPR_NUM_LOG_HCAMS + IPR_NUM_CFG_CHG_HCAMS)