Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[SCSI] Fix uninitialised width and speed in sym2

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>

authored by

Matthew Wilcox and committed by
James Bottomley
23ff51e9 123fc7fd

+2
+2
drivers/scsi/sym53c8xx_2/sym_hipd.c
··· 919 919 920 920 tp->usrflags |= (SYM_DISC_ENABLED | SYM_TAGS_ENABLED); 921 921 tp->usrtags = SYM_SETUP_MAX_TAG; 922 + tp->usr_width = np->maxwide; 923 + tp->usr_period = 9; 922 924 923 925 sym_nvram_setup_target(tp, i, nvram); 924 926