diff options
author | 2003-05-06 22:01:43 +0000 | |
---|---|---|
committer | 2003-05-06 22:01:43 +0000 | |
commit | 42e6d8f90d955bb9a97e9efa89e55a3d102b7363 (patch) | |
tree | 7a66c1cf49bd18df04495874482dcd7baf3b98b8 /sys/dev/ic/osiop.c | |
parent | Now that rcmdsh(3) can deal with an rsh command w/ args, deal with (diff) | |
download | wireguard-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.c | 4 |
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); |