Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 1066
b: refs/heads/master
c: e4862fe
h: refs/heads/master
v: v3
  • Loading branch information
James Bottomley authored and James Bottomley committed May 6, 2005
1 parent a45b0cf commit 922d011
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 949bf797595fc99d4cadf9a294fe6fd32a4474e6
refs/heads/master: e4862fedbc37a2c242824b100101f8e6e8488748
5 changes: 3 additions & 2 deletions trunk/drivers/scsi/sym53c8xx_2/sym_glue.c
Original file line number Diff line number Diff line change
Expand Up @@ -2038,8 +2038,9 @@ static void sym2_set_period(struct scsi_target *starget, int period)
struct sym_hcb *np = sym_get_hcb(shost);
struct sym_tcb *tp = &np->target[starget->id];

/* have to have DT for these transfers */
if (period <= np->minsync)
/* have to have DT for these transfers, but DT will also
* set width, so check that this is allowed */
if (period <= np->minsync && spi_width(starget))
tp->tgoal.dt = 1;

tp->tgoal.period = period;
Expand Down

0 comments on commit 922d011

Please sign in to comment.