aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sym53c8xx_2/sym_hipd.c
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.c
parent33333bacf523bb4bb903058fec6041a5952c93c6 (diff)
downloadkernel_samsung_smdk4412-b37df48923b76155de2a728e1155ed263dba5f53.zip
kernel_samsung_smdk4412-b37df48923b76155de2a728e1155ed263dba5f53.tar.gz
kernel_samsung_smdk4412-b37df48923b76155de2a728e1155ed263dba5f53.tar.bz2
[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.c')
-rw-r--r--drivers/scsi/sym53c8xx_2/sym_hipd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sym53c8xx_2/sym_hipd.c b/drivers/scsi/sym53c8xx_2/sym_hipd.c
index c36e43b..0b0cba0 100644
--- a/drivers/scsi/sym53c8xx_2/sym_hipd.c
+++ b/drivers/scsi/sym53c8xx_2/sym_hipd.c
@@ -943,7 +943,7 @@ static int sym_prepare_setting(struct Scsi_Host *shost, struct sym_hcb *np, stru
tp->usrflags |= (SYM_DISC_ENABLED | SYM_TAGS_ENABLED);
tp->usrtags = SYM_SETUP_MAX_TAG;
- sym_nvram_setup_target(np, i, nvram);
+ sym_nvram_setup_target(tp, i, nvram);
if (!tp->usrtags)
tp->usrflags &= ~SYM_TAGS_ENABLED;