summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/osiop.c
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>2003-05-06 22:01:43 +0000
committermickey <mickey@openbsd.org>2003-05-06 22:01:43 +0000
commit42e6d8f90d955bb9a97e9efa89e55a3d102b7363 (patch)
tree7a66c1cf49bd18df04495874482dcd7baf3b98b8 /sys/dev/ic/osiop.c
parentNow that rcmdsh(3) can deal with an rsh command w/ args, deal with (diff)
downloadwireguard-openbsd-42e6d8f90d955bb9a97e9efa89e55a3d102b7363.tar.xz
wireguard-openbsd-42e6d8f90d955bb9a97e9efa89e55a3d102b7363.zip
allow programming dma block bus transaction length on 710 and set to 8 words for hppa/osiop; krw@ ok
Diffstat (limited to 'sys/dev/ic/osiop.c')
-rw-r--r--sys/dev/ic/osiop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/osiop.c b/sys/dev/ic/osiop.c
index 72900c9455b..e1a54b8942c 100644
--- a/sys/dev/ic/osiop.c
+++ b/sys/dev/ic/osiop.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: osiop.c,v 1.9 2003/04/12 01:16:57 krw Exp $ */
+/* $OpenBSD: osiop.c,v 1.10 2003/05/06 22:01:43 mickey Exp $ */
/* $NetBSD: osiop.c,v 1.9 2002/04/05 18:27:54 bouyer Exp $ */
/*
@@ -879,7 +879,7 @@ osiop_reset(sc)
OSIOP_ARB_FULL | OSIOP_SCNTL0_EPC | OSIOP_SCNTL0_EPG);
osiop_write_1(sc, OSIOP_SCNTL1, OSIOP_SCNTL1_ESR);
osiop_write_1(sc, OSIOP_DCNTL, sc->sc_dcntl);
- osiop_write_1(sc, OSIOP_DMODE, OSIOP_DMODE_BL4);
+ osiop_write_1(sc, OSIOP_DMODE, sc->sc_dmode);
/* don't enable interrupts yet */
osiop_write_1(sc, OSIOP_SIEN, 0x00);
osiop_write_1(sc, OSIOP_DIEN, 0x00);