[SCSI] mpt2sas: change queue depth with reason argument more appropriately
authorKashyap, Desai <kashyap.desai@lsi.com>
Fri, 12 Nov 2010 23:09:11 +0000 (04:39 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 21 Dec 2010 18:24:07 +0000 (12:24 -0600)
commita93c6b45df57332b1703e0dc6f99a1bafc17f5e3
tree2170abc929537a0542f7454a22da57428818ceea
parent90d2a672250b9d6e5c700f2d2c07c19d6fad064a
[SCSI] mpt2sas: change queue depth with reason argument more appropriately

change_queue_depth callback API changed
The change_queue_depth callback changed where there is now an additional
parameter called reason, with SCSI_QDEPTH_DEFAULT, SCSI_QDEPTH_QFULL,
and SCSI_QDEPTH_RAMP_UP codes.

Signed-off-by: Kashyap Desai <kashyap.desai@lsi.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/mpt2sas/mpt2sas_scsih.c