summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason <jason@openbsd.org>2002-05-13 19:31:32 +0000
committerjason <jason@openbsd.org>2002-05-13 19:31:32 +0000
commitf40adf330ab6b37717b8df952dcfd34250549b8d (patch)
tree2371178f547924fb4c12d3b148ac3745b3b2512a
parentldi-ldo whatever was in the table, be that much clever (diff)
downloadwireguard-openbsd-f40adf330ab6b37717b8df952dcfd34250549b8d.tar.xz
wireguard-openbsd-f40adf330ab6b37717b8df952dcfd34250549b8d.zip
add BUS_DMA_24BIT flag (for braindead lance implementations)
-rw-r--r--sys/arch/sparc64/include/bus.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sparc64/include/bus.h b/sys/arch/sparc64/include/bus.h
index 3e42fad0917..a01850b5a1a 100644
--- a/sys/arch/sparc64/include/bus.h
+++ b/sys/arch/sparc64/include/bus.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bus.h,v 1.12 2002/03/14 03:16:00 millert Exp $ */
+/* $OpenBSD: bus.h,v 1.13 2002/05/13 19:31:32 jason Exp $ */
/* $NetBSD: bus.h,v 1.31 2001/09/21 15:30:41 wiz Exp $ */
/*-
@@ -1430,6 +1430,7 @@ bus_space_copy_region_stream_8(t, h1, o1, h2, o2, c)
#define BUS_DMA_NOCACHE BUS_DMA_BUS1
#define BUS_DMA_DVMA BUS_DMA_BUS2 /* Don't bother with alignment */
+#define BUS_DMA_24BIT BUS_DMA_BUS3 /* 24bit device */
/* Forwards needed by prototypes below. */
struct mbuf;