projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
123fc7f
)
[SCSI] Fix uninitialised width and speed in sym2
author
Matthew Wilcox
<matthew@wil.cx>
Tue, 28 Feb 2006 13:28:15 +0000
(06:28 -0700)
committer
James Bottomley
<jejb@mulgrave.il.steeleye.com>
Tue, 28 Feb 2006 15:36:14 +0000
(09:36 -0600)
sym2 boards without NVRAM currently negotiate narrow due to this missed
initialisation
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/sym53c8xx_2/sym_hipd.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/sym53c8xx_2/sym_hipd.c
b/drivers/scsi/sym53c8xx_2/sym_hipd.c
index f4854c33f48d479c5d8901ef1326de3c2e4fecf0..2627000ca6538d8e172c4fb878801af7eafbe9c1 100644
(file)
--- a/
drivers/scsi/sym53c8xx_2/sym_hipd.c
+++ b/
drivers/scsi/sym53c8xx_2/sym_hipd.c
@@
-919,6
+919,8
@@
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;
+ tp->usr_width = np->maxwide;
+ tp->usr_period = 9;
sym_nvram_setup_target(tp, i, nvram);