diff options
author | Matthew Wilcox <matthew@wil.cx> | 2007-10-01 10:07:52 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-10-12 14:52:38 -0400 |
commit | 9ec76fbf7d6da3e98070a7059699d0ca019b0c9b (patch) | |
tree | 6370b64b39555c4df92232a3ba9a65b11bebbba1 /drivers/scsi/qlogicpti.h | |
parent | 50865c1d38e3fbe17a1843582a8e10f2dbbeb6d3 (diff) |
[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>
Diffstat (limited to 'drivers/scsi/qlogicpti.h')
-rw-r--r-- | drivers/scsi/qlogicpti.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/qlogicpti.h b/drivers/scsi/qlogicpti.h index 6cd1c0771d29..ef6da2df584b 100644 --- a/drivers/scsi/qlogicpti.h +++ b/drivers/scsi/qlogicpti.h | |||
@@ -380,8 +380,7 @@ struct qlogicpti { | |||
380 | unsigned char swsreg; | 380 | unsigned char swsreg; |
381 | unsigned int | 381 | unsigned int |
382 | gotirq : 1, /* this instance got an irq */ | 382 | gotirq : 1, /* this instance got an irq */ |
383 | is_pti : 1, /* Non-zero if this is a PTI board. */ | 383 | is_pti : 1; /* Non-zero if this is a PTI board. */ |
384 | sbits : 16; /* syncmode known bits */ | ||
385 | }; | 384 | }; |
386 | 385 | ||
387 | /* How to twiddle them bits... */ | 386 | /* How to twiddle them bits... */ |