From 1c1c47a3e9abf0daccc079556b5b02a788207b36 Mon Sep 17 00:00:00 2001 From: "Justin T. Gibbs" Date: Mon, 25 Sep 2000 21:56:19 +0000 Subject: [PATCH] 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. --- sys/dev/aic7xxx/aic7xxx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/aic7xxx/aic7xxx.c b/sys/dev/aic7xxx/aic7xxx.c index b5da00ff4655..5c54b18b3246 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;