Initialize the new _cookie member of arm32_bus_dma_tag to NULL.

This commit is contained in:
he 2003-07-30 17:28:19 +00:00
parent cd8ee127f7
commit d3c139da44
2 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: footbridge_pci.c,v 1.9 2003/03/23 14:12:25 chris Exp $ */
/* $NetBSD: footbridge_pci.c,v 1.10 2003/07/30 17:28:19 he Exp $ */
/*
* Copyright (c) 1997,1998 Mark Brinicombe.
@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: footbridge_pci.c,v 1.9 2003/03/23 14:12:25 chris Exp $");
__KERNEL_RCSID(0, "$NetBSD: footbridge_pci.c,v 1.10 2003/07/30 17:28:19 he Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -102,6 +102,7 @@ struct arm32_pci_chipset footbridge_pci_chipset = {
struct arm32_bus_dma_tag footbridge_pci_bus_dma_tag = {
0,
0,
NULL,
_bus_dmamap_create,
_bus_dmamap_destroy,
_bus_dmamap_load,

View File

@ -1,4 +1,4 @@
/* $NetBSD: isadma_machdep.c,v 1.5 2003/04/01 15:03:36 thorpej Exp $ */
/* $NetBSD: isadma_machdep.c,v 1.6 2003/07/30 17:28:20 he Exp $ */
#define ISA_DMA_STATS
@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: isadma_machdep.c,v 1.5 2003/04/01 15:03:36 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: isadma_machdep.c,v 1.6 2003/07/30 17:28:20 he Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -102,6 +102,7 @@ void _isa_dma_free_bouncebuf __P((bus_dma_tag_t, bus_dmamap_t));
struct arm32_bus_dma_tag isa_bus_dma_tag = {
0, /* _ranges */
0, /* _nranges */
NULL,
_isa_bus_dmamap_create,
_isa_bus_dmamap_destroy,
_isa_bus_dmamap_load,