esp_scsi: make number of tags configurable
authorHannes Reinecke <hare@suse.de>
Mon, 24 Nov 2014 14:37:20 +0000 (15:37 +0100)
committerChristoph Hellwig <hch@lst.de>
Mon, 24 Nov 2014 15:10:23 +0000 (16:10 +0100)
commit3707a186c8970e3c4f3c8d9ccf4230b8657e919f
treecacc0aaabc663d438b1944f06e52d58b5cb56684
parenta87bf29362c763cf35faa17154b699471a8b902e
esp_scsi: make number of tags configurable

Add a field 'num_tags' to the esp structure to allow drivers
to overwrite the number of avialable tags if required.
Default is ESP_DEFAULT_TAGS.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/esp_scsi.c
drivers/scsi/esp_scsi.h