[SCSI] qlogicpti: Add a slave_configure method
commit9ec76fbf7d6da3e98070a7059699d0ca019b0c9b
authorMatthew Wilcox <matthew@wil.cx>
Mon, 1 Oct 2007 14:07:52 +0000 (1 08:07 -0600)
committerJames Bottomley <jejb@mulgrave.localdomain>
Fri, 12 Oct 2007 18:52:38 +0000 (12 14:52 -0400)
tree6370b64b39555c4df92232a3ba9a65b11bebbba1
parent50865c1d38e3fbe17a1843582a8e10f2dbbeb6d3
[SCSI] qlogicpti: Add a slave_configure method

By configuring targets in slave_configure, we can eliminate a shadow
queuecommand, a shadow scsi_done, a write to the host template, abuse of
SCp->Message and SCp->Status, a use of kmap_atomic() and sniffing the
results of INQUIRY.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/qlogicpti.c
drivers/scsi/qlogicpti.h