[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>
This commit is contained in:
committed by
James Bottomley
parent
50865c1d38
commit
9ec76fbf7d
@@ -380,8 +380,7 @@ struct qlogicpti {
|
||||
unsigned char swsreg;
|
||||
unsigned int
|
||||
gotirq : 1, /* this instance got an irq */
|
||||
is_pti : 1, /* Non-zero if this is a PTI board. */
|
||||
sbits : 16; /* syncmode known bits */
|
||||
is_pti : 1; /* Non-zero if this is a PTI board. */
|
||||
};
|
||||
|
||||
/* How to twiddle them bits... */
|
||||
|
Reference in New Issue
Block a user