Garbage-collect the DMA tag's "_cookie" member; it's not used for anything.

This commit is contained in:
thorpej 1998-04-26 22:37:20 +00:00
parent 4804060a6b
commit ff701f8abb
4 changed files with 4 additions and 9 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: eisa_machdep.c,v 1.8 1998/02/06 07:51:46 thorpej Exp $ */
/* $NetBSD: eisa_machdep.c,v 1.9 1998/04/26 22:37:20 thorpej Exp $ */
/*-
* Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@ -92,7 +92,6 @@
* of these funcions.
*/
struct i386_bus_dma_tag eisa_bus_dma_tag = {
NULL, /* _cookie */
_bus_dmamap_create,
_bus_dmamap_destroy,
_bus_dmamap_load,

View File

@ -1,4 +1,4 @@
/* $NetBSD: bus.h,v 1.15 1998/02/04 05:12:56 thorpej Exp $ */
/* $NetBSD: bus.h,v 1.16 1998/04/26 22:37:21 thorpej Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@ -889,8 +889,6 @@ typedef struct i386_bus_dma_segment bus_dma_segment_t;
*/
struct i386_bus_dma_tag {
void *_cookie; /* cookie used in the guts */
/*
* DMA mapping methods.
*/

View File

@ -1,4 +1,4 @@
/* $NetBSD: isa_machdep.c,v 1.30 1998/03/30 06:05:39 mycroft Exp $ */
/* $NetBSD: isa_machdep.c,v 1.31 1998/04/26 22:37:21 thorpej Exp $ */
#define ISA_DMA_STATS
@ -150,7 +150,6 @@ void _isa_dma_free_bouncebuf __P((bus_dma_tag_t, bus_dmamap_t));
* buffers, if necessary.
*/
struct i386_bus_dma_tag isa_bus_dma_tag = {
NULL, /* _cookie */
_isa_bus_dmamap_create,
_isa_bus_dmamap_destroy,
_isa_bus_dmamap_load,

View File

@ -1,4 +1,4 @@
/* $NetBSD: pci_machdep.c,v 1.28 1997/06/06 23:29:17 thorpej Exp $ */
/* $NetBSD: pci_machdep.c,v 1.29 1998/04/26 22:37:21 thorpej Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@ -113,7 +113,6 @@ int pci_mode = -1;
* of these functions.
*/
struct i386_bus_dma_tag pci_bus_dma_tag = {
NULL, /* _cookie */
_bus_dmamap_create,
_bus_dmamap_destroy,
_bus_dmamap_load,