git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[SCSI] sym2: Allow NVRAM settings to limit speed and width
[safe/jmp/linux-2.6]
/
drivers
/
scsi
/
sym53c8xx_2
/
sym_glue.c
diff --git
a/drivers/scsi/sym53c8xx_2/sym_glue.c
b/drivers/scsi/sym53c8xx_2/sym_glue.c
index
bb90ef9
..
cb3d195
100644
(file)
--- 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)
return -ENOMEM;
tp->starget = sdev->sdev_target;
+ spi_min_period(tp->starget) = tp->usr_period;
+ spi_max_width(tp->starget) = tp->usr_width;
+
return 0;
}