diff options
author | Todd T. Fries <todd@cvs.openbsd.org> | 1998-03-02 07:02:09 +0000 |
---|---|---|
committer | Todd T. Fries <todd@cvs.openbsd.org> | 1998-03-02 07:02:09 +0000 |
commit | ab9d95f5ef5bebe217a2c04998d1eae144545485 (patch) | |
tree | bb006a8c63b59061c7c217f4631e5e835581f349 /sys/dev/isa | |
parent | fb632af4a00e8258f86579bf9e603036e15da819 (diff) |
Please GCC 2.8 -Wall
Diffstat (limited to 'sys/dev/isa')
-rw-r--r-- | sys/dev/isa/isadma.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/isa/isadma.c b/sys/dev/isa/isadma.c index e86b264063d..2a07a876042 100644 --- a/sys/dev/isa/isadma.c +++ b/sys/dev/isa/isadma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isadma.c,v 1.18 1998/01/21 14:17:13 niklas Exp $ */ +/* $OpenBSD: isadma.c,v 1.19 1998/03/02 07:02:08 todd Exp $ */ /* $NetBSD: isadma.c,v 1.32 1997/09/05 01:48:33 thorpej Exp $ */ /*- @@ -333,13 +333,14 @@ isa_dmastart(isadev, chan, addr, nbytes, p, flags, busdmaflags) } dmam = sc->sc_dmamaps[chan]; - if (dmam == NULL) + if (dmam == NULL) { #ifdef __ISADMA_COMPAT if (compat) dmam = sc->sc_dmamaps[chan] = isadma_dmam[chan]; else #endif /* __ISADMA_COMPAT */ panic("isa_dmastart: no DMA map for chan %d\n", chan); + } error = bus_dmamap_load(sc->sc_dmat, dmam, addr, nbytes, p, busdmaflags); |