summary refs log tree commit diff
path: root/drivers/scsi/qlogicpti.h
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2007-10-01 08:07:52 -0600
committerJames Bottomley <jejb@mulgrave.localdomain>2007-10-12 14:52:38 -0400
commit9ec76fbf7d6da3e98070a7059699d0ca019b0c9b (patch)
tree6370b64b39555c4df92232a3ba9a65b11bebbba1 /drivers/scsi/qlogicpti.h
parent50865c1d38e3fbe17a1843582a8e10f2dbbeb6d3 (diff)
downloadlinux-9ec76fbf7d6da3e98070a7059699d0ca019b0c9b.tar.gz
[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... */