summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/include
diff options
context:
space:
mode:
authorDale S. Rahn <rahnds@cvs.openbsd.org>2000-07-07 13:11:05 +0000
committerDale S. Rahn <rahnds@cvs.openbsd.org>2000-07-07 13:11:05 +0000
commit0193f0c2db48a9f4d692c17a58ca88ace3dc1323 (patch)
tree7a2fb2b45c757987d29e97386c0f6d62ffb8a19a /sys/arch/powerpc/include
parent436de42a8e17d359619873f5e4fb0b7205433f39 (diff)
Additional bus defines, required to build ahc driver. ahc not quite working
due to busdma issues on powerpc.
Diffstat (limited to 'sys/arch/powerpc/include')
-rw-r--r--sys/arch/powerpc/include/bus.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/arch/powerpc/include/bus.h b/sys/arch/powerpc/include/bus.h
index aa3374ffc04..7e99a8785fc 100644
--- a/sys/arch/powerpc/include/bus.h
+++ b/sys/arch/powerpc/include/bus.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus.h,v 1.6 2000/02/03 05:44:09 rahnds Exp $ */
+/* $OpenBSD: bus.h,v 1.7 2000/07/07 13:11:04 rahnds Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom. All rights reserved.
@@ -168,7 +168,11 @@ bus_space_write_raw_multi_4(bus_space_tag_t bst, bus_space_handle_t bsh,
#define BUS_DMA_NOWAIT 0x01
#define BUS_DMA_ALLOCNOW 0x02
#define BUS_DMAMEM_NOSYNC 0x04
-#define BUS_DMA_COHERENT 0x04
+#define BUS_DMA_COHERENT 0x08
+#define BUS_DMA_BUS1 0x10 /* placeholders for bus functions... */
+#define BUS_DMA_BUS2 0x20
+#define BUS_DMA_BUS3 0x40
+#define BUS_DMA_BUS4 0x80
/* Forwards needed by prototypes below. */
struct mbuf;