Make isa_machdep.c compile again.

This commit is contained in:
enami 2000-11-15 02:00:31 +00:00
parent 1ef516e9be
commit 038ca0a146
1 changed files with 1 additions and 37 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: isa_machdep.h,v 1.16 2000/06/04 19:14:44 cgd Exp $ */
/* $NetBSD: isa_machdep.h,v 1.17 2000/11/15 02:00:31 enami Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@ -170,42 +170,6 @@ void isa_mem_free(bus_space_tag_t, bus_space_handle_t, bus_size_t);
extern struct i386_bus_dma_tag isa_bus_dma_tag;
/*
* Cookie used by ISA dma. A pointer to one of these it stashed in
* the DMA map.
*/
struct i386_isa_dma_cookie {
int id_flags; /* flags; see below */
/*
* Information about the original buffer used during
* DMA map syncs. Note that origibuflen is only used
* for ID_BUFTYPE_LINEAR.
*/
void *id_origbuf; /* pointer to orig buffer if
bouncing */
bus_size_t id_origbuflen; /* ...and size */
int id_buftype; /* type of buffer */
void *id_bouncebuf; /* pointer to the bounce buffer */
bus_size_t id_bouncebuflen; /* ...and size */
int id_nbouncesegs; /* number of valid bounce segs */
bus_dma_segment_t id_bouncesegs[0]; /* array of bounce buffer
physical memory segments */
};
/* id_flags */
#define ID_MIGHT_NEED_BOUNCE 0x01 /* map could need bounce buffers */
#define ID_HAS_BOUNCE 0x02 /* map currently has bounce buffers */
#define ID_IS_BOUNCING 0x04 /* map is bouncing current xfer */
/* id_buftype */
#define ID_BUFTYPE_INVALID 0
#define ID_BUFTYPE_LINEAR 1
#define ID_BUFTYPE_MBUF 2
#define ID_BUFTYPE_UIO 3
#define ID_BUFTYPE_RAW 4
/*
* XXX Various seemingly PC-specific constants, some of which may be
* unnecessary anyway.