diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2017-05-08 00:27:46 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2017-05-08 00:27:46 +0000 |
commit | e9fa087f6298b91db0dbe730065219a569ed30c7 (patch) | |
tree | 6966b785c7dbb463002559e8ccbc305d4fbffd1a /sys/arch/hppa/include | |
parent | c2f5797256434d3b2a71bc0ea895cd9248f151f3 (diff) |
add a BUS_DMA_64BIT flag to bus_dma on all our archs.
this is so drivers can advertise that they can handle 64 dma addresses
to the platform. it may choose to handle dmamaps differently based
on this flag.
tweaks and ok tom@
ok kettenis@
Diffstat (limited to 'sys/arch/hppa/include')
-rw-r--r-- | sys/arch/hppa/include/bus.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/hppa/include/bus.h b/sys/arch/hppa/include/bus.h index 6d14a0df439..c4dbd6835a9 100644 --- a/sys/arch/hppa/include/bus.h +++ b/sys/arch/hppa/include/bus.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bus.h,v 1.31 2011/11/14 14:29:53 deraadt Exp $ */ +/* $OpenBSD: bus.h,v 1.32 2017/05/08 00:27:45 dlg Exp $ */ /* * Copyright (c) 1998-2004 Michael Shalayeff @@ -299,6 +299,7 @@ extern const struct hppa_bus_space_tag hppa_bustag; #define BUS_DMA_READ 0x0400 /* mapping is device -> memory only */ #define BUS_DMA_WRITE 0x0800 /* mapping is memory -> device only */ #define BUS_DMA_ZERO 0x1000 /* zero memory in dmamem_alloc */ +#define BUS_DMA_64BIT 0x2000 /* device handles 64bit dva */ /* Forwards needed by prototypes below. */ struct mbuf; |