make this compile again.

This commit is contained in:
chs 2001-03-13 04:20:13 +00:00
parent ae8397d1f8
commit 631f092c9b

View File

@ -1,4 +1,4 @@
/* $NetBSD: xy.c,v 1.34 2001/03/06 22:28:00 thorpej Exp $ */ /* $NetBSD: xy.c,v 1.35 2001/03/13 04:20:13 chs Exp $ */
/* /*
* *
@ -314,8 +314,7 @@ xy_dmamem_alloc(tag, map, seg, nsegp, len, kvap, dmap)
return (error); return (error);
} }
if ((error = bus_dmamap_load(tag, map if ((error = bus_dmamap_load(tag, map, *kvap, len, NULL,
*kvap, len, NULL,
BUS_DMA_NOWAIT)) != 0) { BUS_DMA_NOWAIT)) != 0) {
bus_dmamem_unmap(tag, *kvap, len); bus_dmamem_unmap(tag, *kvap, len);
bus_dmamem_free(tag, seg, nseg); bus_dmamem_free(tag, seg, nseg);