summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2003-08-28 22:16:01 +0000
committerthorpej <thorpej@NetBSD.org>2003-08-28 22:16:01 +0000
commitf3552c7ce014a2add3d58fad6aa86ed2c716b252 (patch)
tree70d4755108757c7ce7c534ceeea3da95a7ae2025 /sys/dev
parentcb20da8aae76b495fdc4be782e079357aaaa0f19 (diff)
Make sure we consistently report DT when sending an xfer mode async event.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/aic79xx.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/ic/aic79xx.c b/sys/dev/ic/aic79xx.c
index cfce88690ed..416b86ca878 100644
--- a/sys/dev/ic/aic79xx.c
+++ b/sys/dev/ic/aic79xx.c
@@ -1,4 +1,4 @@
-/* $NetBSD: aic79xx.c,v 1.7 2003/07/26 06:15:57 thorpej Exp $ */
+/* $NetBSD: aic79xx.c,v 1.8 2003/08/28 22:16:01 thorpej Exp $ */
/*
* Core routines and tables shareable across OS platforms.
@@ -49,7 +49,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aic79xx.c,v 1.7 2003/07/26 06:15:57 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aic79xx.c,v 1.8 2003/08/28 22:16:01 thorpej Exp $");
#include <dev/ic/aic79xx_osm.h>
#include <dev/ic/aic79xx_inline.h>
@@ -9467,6 +9467,8 @@ ahd_update_xfer_mode(struct ahd_softc *ahd, struct ahd_devinfo *devinfo)
xm.xm_mode |= PERIPH_CAP_WIDE16;
if (tinfo->curr.period)
xm.xm_mode |= PERIPH_CAP_SYNC;
+ if (tinfo->curr.ppr_options & MSG_EXT_PPR_DT_REQ)
+ xm.xm_mode |= PERIPH_CAP_DT;
if (tstate->tagenable & devinfo->target_mask)
xm.xm_mode |= PERIPH_CAP_TQING;