summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sym53c8xx_2/sym_hipd.h
diff options
context:
space:
mode:
authorMatthew Wilcox <matthew@wil.cx>2005-11-29 23:08:44 -0500
committerJames Bottomley <jejb@mulgrave.(none)>2005-12-13 18:11:45 -0700
commitb37df48923b76155de2a728e1155ed263dba5f53 (patch)
treed66ce7b56be9df12a7c64521e931dc4925bf800f /drivers/scsi/sym53c8xx_2/sym_hipd.h
parent33333bacf523bb4bb903058fec6041a5952c93c6 (diff)
downloadblackbird-obmc-linux-b37df48923b76155de2a728e1155ed263dba5f53.tar.gz
blackbird-obmc-linux-b37df48923b76155de2a728e1155ed263dba5f53.zip
[SCSI] sym2: Allow NVRAM settings to limit speed and width
The NVRAM for both Tekram and Symbios boards allows the user to set the speed and width for individual targets. I took that code out in March 2004 when we introduced Domain Validation, but it seems there's still a legitimate need for it in some configurations. Signed-off-by: Matthew Wilcox <matthew@wil.cx> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/sym53c8xx_2/sym_hipd.h')
-rw-r--r--drivers/scsi/sym53c8xx_2/sym_hipd.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/scsi/sym53c8xx_2/sym_hipd.h b/drivers/scsi/sym53c8xx_2/sym_hipd.h
index 17181101f6c8..2456090bb241 100644
--- a/drivers/scsi/sym53c8xx_2/sym_hipd.h
+++ b/drivers/scsi/sym53c8xx_2/sym_hipd.h
@@ -434,8 +434,10 @@ struct sym_tcb {
* Other user settable limits and options.
* These limits are read from the NVRAM if present.
*/
- u_char usrflags;
- u_short usrtags;
+ unsigned char usrflags;
+ unsigned char usr_period;
+ unsigned char usr_width;
+ unsigned short usrtags;
struct scsi_target *starget;
};
OpenPOWER on IntegriCloud