diff options
author | Matthew Wilcox <matthew@wil.cx> | 2005-11-29 23:08:44 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-12-13 20:11:45 -0500 |
commit | b37df48923b76155de2a728e1155ed263dba5f53 (patch) | |
tree | d66ce7b56be9df12a7c64521e931dc4925bf800f /drivers/scsi/sym53c8xx_2/sym_glue.c | |
parent | 33333bacf523bb4bb903058fec6041a5952c93c6 (diff) |
[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_glue.c')
-rw-r--r-- | drivers/scsi/sym53c8xx_2/sym_glue.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/sym53c8xx_2/sym_glue.c b/drivers/scsi/sym53c8xx_2/sym_glue.c index bb90ef9659ab..cb3d195bdb94 100644 --- a/drivers/scsi/sym53c8xx_2/sym_glue.c +++ b/drivers/scsi/sym53c8xx_2/sym_glue.c | |||
@@ -1038,6 +1038,9 @@ static int sym53c8xx_slave_alloc(struct scsi_device *sdev) | |||
1038 | return -ENOMEM; | 1038 | return -ENOMEM; |
1039 | 1039 | ||
1040 | tp->starget = sdev->sdev_target; | 1040 | tp->starget = sdev->sdev_target; |
1041 | spi_min_period(tp->starget) = tp->usr_period; | ||
1042 | spi_max_width(tp->starget) = tp->usr_width; | ||
1043 | |||
1041 | return 0; | 1044 | return 0; |
1042 | } | 1045 | } |
1043 | 1046 | ||