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] sym53c8xx_2: lun to_clear flag not re-initialized (2.6.27.5)
[safe/jmp/linux-2.6]
/
drivers
/
scsi
/
sym53c8xx_2
/
sym_hipd.c
diff --git
a/drivers/scsi/sym53c8xx_2/sym_hipd.c
b/drivers/scsi/sym53c8xx_2/sym_hipd.c
index
ffa70d1
..
60d6a6d
100644
(file)
--- a/
drivers/scsi/sym53c8xx_2/sym_hipd.c
+++ b/
drivers/scsi/sym53c8xx_2/sym_hipd.c
@@
-1896,6
+1896,15
@@
void sym_start_up(struct Scsi_Host *shost, int reason)
tp->head.sval = 0;
tp->head.wval = np->rv_scntl3;
tp->head.uval = 0;
+ if (tp->lun0p)
+ tp->lun0p->to_clear = 0;
+ if (tp->lunmp) {
+ int ln;
+
+ for (ln = 1; ln < SYM_CONF_MAX_LUN; ln++)
+ if (tp->lunmp[ln])
+ tp->lunmp[ln]->to_clear = 0;
+ }
}
/*