[SCSI] ipr: increase the dump size for 64 bit adapters
authorKleber Sacilotto de Souza <klebers@linux.vnet.ibm.com>
Tue, 26 Apr 2011 22:23:29 +0000 (19:23 -0300)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 1 May 2011 17:09:20 +0000 (12:09 -0500)
commit4d4dd7065572225bf6d97e5eb9915d94f9d53548
tree5c73ad19f4f39a76251db0fae2ea3e04e9391a71
parent0b15fb1fdfd403726542cb6111bc916b7a9f7fad
[SCSI] ipr: increase the dump size for 64 bit adapters

Currently the size of the dump generated by the driver is limited
in 4MB, which is insufficient to gather much useful data from the
new 64 bit adapters.

This patch makes the needed changes to increase the dump limit
for the 64 bit adapters to 32MB, or even to a bigger value in the
future, but keeping the current limitations for the legacy 32 bit
adapters.

Signed-off-by: Kleber Sacilotto de Souza <klebers@linux.vnet.ibm.com>
Acked-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/ipr.c
drivers/scsi/ipr.h