Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7665
b: refs/heads/master
c: 52b5cfb
h: refs/heads/master
i:
  7663: 93aa1d5
v: v3
  • Loading branch information
Hannes Reinecke authored and James Bottomley committed Aug 4, 2005
1 parent ce59dbe commit 6f9be31
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: 88ff29a4a5a8c4e0ecf375f783be071d1e7e264d
refs/heads/master: 52b5cfb355b2b3274979d25490f190d478ab1fad
5 changes: 3 additions & 2 deletions trunk/drivers/scsi/aic7xxx/aic79xx_osm.c
Original file line number Diff line number Diff line change
Expand Up @@ -2440,6 +2440,7 @@ static void ahd_linux_set_dt(struct scsi_target *starget, int dt)
unsigned int ppr_options = tinfo->goal.ppr_options
& ~MSG_EXT_PPR_DT_REQ;
unsigned int period = tinfo->goal.period;
unsigned int width = tinfo->goal.width;
unsigned long flags;

#ifdef AHD_DEBUG
Expand All @@ -2449,8 +2450,8 @@ static void ahd_linux_set_dt(struct scsi_target *starget, int dt)
#endif
if (dt) {
ppr_options |= MSG_EXT_PPR_DT_REQ;
if (period > 9)
period = 9; /* at least 12.5ns for DT */
if (!width)
ahd_linux_set_width(starget, 1);
} else {
if (period <= 9)
period = 10; /* If resetting DT, period must be >= 25ns */
Expand Down

0 comments on commit 6f9be31

Please sign in to comment.