diff options
author | gibbs <gibbs@FreeBSD.org> | 2000-09-25 21:56:19 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 2000-09-25 21:56:19 +0000 |
commit | e04f70f17c26a18bc0eaec707b5a3f9d644773ac (patch) | |
tree | 9ebb2efe3484abf21c767fc48db9ca69e73717e2 | |
parent | 03870bb44ff4b30367f7ebf9f87c568280bf19ba (diff) | |
download | FreeBSD-src-e04f70f17c26a18bc0eaec707b5a3f9d644773ac.zip FreeBSD-src-e04f70f17c26a18bc0eaec707b5a3f9d644773ac.tar.gz |
Correct a logic mistake introduced in a recent cleanup of
ahc_build_transfer_msg() that would cause use to fail to send the
DT_REQ ppr_option in a PPR message for periods where DT transfers
are required.
-rw-r--r-- | sys/dev/aic7xxx/aic7xxx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/aic7xxx/aic7xxx.c b/sys/dev/aic7xxx/aic7xxx.c index b5da00f..5c54b18 100644 --- a/sys/dev/aic7xxx/aic7xxx.c +++ b/sys/dev/aic7xxx/aic7xxx.c @@ -1867,7 +1867,7 @@ ahc_build_transfer_msg(struct ahc_softc *ahc, struct ahc_devinfo *devinfo) period = tinfo->goal.period; ppr_options = tinfo->goal.ppr_options; - if (dosync) + if (use_ppr == 0) ppr_options = 0; rate = ahc_devlimited_syncrate(ahc, &period, &ppr_options); offset = tinfo->goal.offset; |