]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[SCSI] cxgb3i: fix can_queue and cmd_per_lun initialization
authorMike Christie <michaelc@cs.wisc.edu>
Tue, 21 Apr 2009 20:32:33 +0000 (15:32 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 27 Apr 2009 15:09:59 +0000 (10:09 -0500)
commitdd0af9f94e54efb13ee050ebac11909215ef02c2
treeafa6e1ca35b4197221308c14ca80d5da3c691372
parent6b5d6c443a9b4fd71b633cef66b5db4de8a85787
[SCSI] cxgb3i: fix can_queue and cmd_per_lun initialization

cxgb3i was setting can_queue to only 128 commands, and was
setting the can_queue and cmd_per_lun to the same value.

This sets the can_queue to 1024 commands, and sets the cmd_per_lun
to a safer default of 32.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/cxgb3i/cxgb3i.h
drivers/scsi/cxgb3i/cxgb3i_iscsi.c