summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qlogicpti.h
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2007-10-01 16:07:52 +0200
committerJames Bottomley <jejb@mulgrave.localdomain>2007-10-12 20:52:38 +0200
commit9ec76fbf7d6da3e98070a7059699d0ca019b0c9b (patch)
tree6370b64b39555c4df92232a3ba9a65b11bebbba1 /drivers/scsi/qlogicpti.h
parent[SCSI] Update Documentation/scsi/00-INDEX (diff)
downloadlinux-9ec76fbf7d6da3e98070a7059699d0ca019b0c9b.tar.xz
linux-9ec76fbf7d6da3e98070a7059699d0ca019b0c9b.zip
[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.h3
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 {
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... */