diff options
author | 2001-04-12 07:51:56 +0000 | |
---|---|---|
committer | 2001-04-12 07:51:56 +0000 | |
commit | dfb4f4f41cbe2a421f65deb6985f495e4c260099 (patch) | |
tree | 0854c2f5dd661992de7f271394047c762561d7c0 | |
parent | The old code was broken and always allocated for a 16-bit DMA channel, (diff) | |
download | wireguard-openbsd-dfb4f4f41cbe2a421f65deb6985f495e4c260099.tar.xz wireguard-openbsd-dfb4f4f41cbe2a421f65deb6985f495e4c260099.zip |
Call isa_malloc with drq < 4, in case 8-bit DMA channels with more
restrictive boundaries are used
-rw-r--r-- | sys/dev/isa/ad1848.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/ad1848.c b/sys/dev/isa/ad1848.c index 00154581b1d..8542b2ad56c 100644 --- a/sys/dev/isa/ad1848.c +++ b/sys/dev/isa/ad1848.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ad1848.c,v 1.20 2000/03/02 23:02:48 mickey Exp $ */ +/* $OpenBSD: ad1848.c,v 1.21 2001/04/12 07:51:56 csapuntz Exp $ */ /* $NetBSD: ad1848.c,v 1.45 1998/01/30 02:02:38 augustss Exp $ */ /* @@ -1648,7 +1648,7 @@ ad1848_malloc(addr, size, pool, flags) { struct ad1848_softc *sc = addr; - return isa_malloc(sc->sc_isa, 4, size, pool, flags); + return isa_malloc(sc->sc_isa, 1, size, pool, flags); } void |