All of lore.kernel.org
 help / color / mirror / Atom feed
* [2.6.16 PATCH] Fix uninitialised width and speed in sym2
@ 2006-02-28 13:28 Matthew Wilcox
  0 siblings, 0 replies; only message in thread
From: Matthew Wilcox @ 2006-02-28 13:28 UTC (permalink / raw)
  To: linux-scsi


sym2 boards without NVRAM currently negotiate narrow due to this missed
initialisation

Signed-off-by: Matthew Wilcox <matthew@wil.cx>

Index: ./drivers/scsi/sym53c8xx_2/sym_hipd.c
===================================================================
RCS file: /var/cvs/linux-2.6/drivers/scsi/sym53c8xx_2/sym_hipd.c,v
retrieving revision 1.82.2.1
retrieving revision 1.82
diff -u -p -r1.82.2.1 -r1.82
--- ./drivers/scsi/sym53c8xx_2/sym_hipd.c	28 Feb 2006 05:25:44 -0000	1.82.2.1
+++ ./drivers/scsi/sym53c8xx_2/sym_hipd.c	27 Feb 2006 14:11:31 -0000	1.82
@@ -919,6 +922,8 @@ static int sym_prepare_setting(struct Sc
 
 		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);
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-02-28 13:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-28 13:28 [2.6.16 PATCH] Fix uninitialised width and speed in sym2 Matthew Wilcox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.