aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/hpsa.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 82b94e2c745b..688b24333a6f 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -3470,6 +3470,11 @@ static int __devinit hpsa_find_cfgtables(struct ctlr_info *h)
3470static void __devinit hpsa_get_max_perf_mode_cmds(struct ctlr_info *h) 3470static void __devinit hpsa_get_max_perf_mode_cmds(struct ctlr_info *h)
3471{ 3471{
3472 h->max_commands = readl(&(h->cfgtable->MaxPerformantModeCommands)); 3472 h->max_commands = readl(&(h->cfgtable->MaxPerformantModeCommands));
3473
3474 /* Limit commands in memory limited kdump scenario. */
3475 if (reset_devices && h->max_commands > 32)
3476 h->max_commands = 32;
3477
3473 if (h->max_commands < 16) { 3478 if (h->max_commands < 16) {
3474 dev_warn(&h->pdev->dev, "Controller reports " 3479 dev_warn(&h->pdev->dev, "Controller reports "
3475 "max supported commands of %d, an obvious lie. " 3480 "max supported commands of %d, an obvious lie. "