add _tag_needs_free members to x86_bus_dma_tag structs
This commit is contained in:
parent
3f940223f3
commit
31286c4ea7
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: isa_machdep.c,v 1.6 2006/09/28 18:53:16 bouyer Exp $ */
|
/* $NetBSD: isa_machdep.c,v 1.7 2007/02/22 20:26:40 dogcow Exp $ */
|
||||||
/* NetBSD isa_machdep.c,v 1.11 2004/06/20 18:04:08 thorpej Exp */
|
/* NetBSD isa_machdep.c,v 1.11 2004/06/20 18:04:08 thorpej Exp */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
@ -73,7 +73,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.6 2006/09/28 18:53:16 bouyer Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.7 2007/02/22 20:26:40 dogcow Exp $");
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
@ -98,6 +98,7 @@ __KERNEL_RCSID(0, "$NetBSD: isa_machdep.c,v 1.6 2006/09/28 18:53:16 bouyer Exp $
|
|||||||
static int _isa_dma_may_bounce(bus_dma_tag_t, bus_dmamap_t, int, int *);
|
static int _isa_dma_may_bounce(bus_dma_tag_t, bus_dmamap_t, int, int *);
|
||||||
|
|
||||||
struct x86_bus_dma_tag isa_bus_dma_tag = {
|
struct x86_bus_dma_tag isa_bus_dma_tag = {
|
||||||
|
0, /* _tag_needs_free */
|
||||||
ISA_DMA_BOUNCE_THRESHOLD, /* _bounce_thresh */
|
ISA_DMA_BOUNCE_THRESHOLD, /* _bounce_thresh */
|
||||||
0, /* _bounce_alloc_lo */
|
0, /* _bounce_alloc_lo */
|
||||||
ISA_DMA_BOUNCE_THRESHOLD, /* _bounce_alloc_hi */
|
ISA_DMA_BOUNCE_THRESHOLD, /* _bounce_alloc_hi */
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: pci_machdep.c,v 1.9 2006/05/15 20:16:31 dogcow Exp $ */
|
/* $NetBSD: pci_machdep.c,v 1.10 2007/02/22 20:26:40 dogcow Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2005 Manuel Bouyer.
|
* Copyright (c) 2005 Manuel Bouyer.
|
||||||
@ -47,6 +47,7 @@
|
|||||||
u_int32_t pci_bus_attached[256 / 32];
|
u_int32_t pci_bus_attached[256 / 32];
|
||||||
|
|
||||||
struct x86_bus_dma_tag pci_bus_dma_tag = {
|
struct x86_bus_dma_tag pci_bus_dma_tag = {
|
||||||
|
0, /* _tag_needs_free */
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
|
Loading…
Reference in New Issue
Block a user