diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2001-09-23 01:42:39 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2001-09-23 01:42:39 +0000 |
commit | 0ff91c3df960bb9d5b25c674b2f7e10e06c07816 (patch) | |
tree | 756472cc00cd5b64d56526ea6cb886ce890d928e /sys/arch | |
parent | b1e953d6a0ed38990a307b919fa4a2049c9be2b8 (diff) |
Worst abuse of C, ever.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/mvmeppc/include/bus_mi.h | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/sys/arch/mvmeppc/include/bus_mi.h b/sys/arch/mvmeppc/include/bus_mi.h index b7ec2089081..9ce8209835b 100644 --- a/sys/arch/mvmeppc/include/bus_mi.h +++ b/sys/arch/mvmeppc/include/bus_mi.h @@ -1,5 +1,5 @@ /* $NetBSD: bus.h,v 1.1 2001/06/06 17:37:37 matt Exp $ */ -/* $OpenBSD: bus_mi.h,v 1.1 2001/06/26 21:57:43 smurph Exp $ */ +/* $OpenBSD: bus_mi.h,v 1.2 2001/09/23 01:42:38 miod Exp $ */ /*- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc. @@ -106,13 +106,6 @@ #include <machine/pio.h> -typedef enum { - BUS_DMASYNC_POSTREAD, - BUS_DMASYNC_POSTWRITE, - BUS_DMASYNC_PREREAD, - BUS_DMASYNC_PREWRITE -} bus_dmasync_op_t; - /* * Bus access types. */ @@ -987,10 +980,12 @@ struct uio; /* * Operations performed by bus_dmamap_sync(). */ -#define BUS_DMASYNC_PREREAD 0x01 /* pre-read synchronization */ -#define BUS_DMASYNC_POSTREAD 0x02 /* post-read synchronization */ -#define BUS_DMASYNC_PREWRITE 0x04 /* pre-write synchronization */ -#define BUS_DMASYNC_POSTWRITE 0x08 /* post-write synchronization */ +typedef enum { + BUS_DMASYNC_PREREAD = 0x01, /* pre-read synchronization */ + BUS_DMASYNC_POSTREAD = 0x02, /* post-read synchronization */ + BUS_DMASYNC_PREWRITE = 0x04, /* pre-write synchronization */ + BUS_DMASYNC_POSTWRITE = 0x08 /* post-write synchronization */ +} bus_dmasync_op_t; typedef struct powerpc_bus_dma_tag *bus_dma_tag_t; typedef struct powerpc_bus_dmamap *bus_dmamap_t; |