diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-01-20 18:40:37 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1998-01-20 18:40:37 +0000 |
commit | e4232757b30346a182214fb65da8a76f2edb7b24 (patch) | |
tree | 5c1b89b92ef8c67dfa2d0f3a078804042a1555ee /sys/arch/arc | |
parent | 0a8f2cc87f99deec610ef91696850a249bd8fb81 (diff) |
Merge bus_dma support from NetBSD, mostly by Jason Thorpe. Only i386 uses it
so far, the other archs gets placeholders for now. I wrote a compatibility
layer for OpenBSD's old isadma code so we can still use our old
driver sources. They will however get changed to native bus_dma use,
on a case by case basis. Oh yes, I almost forgot, I kept our notion
of isadma being a device so DMA-less ISA-busses still work
Diffstat (limited to 'sys/arch/arc')
-rw-r--r-- | sys/arch/arc/include/bus.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/arc/include/bus.h b/sys/arch/arc/include/bus.h index b9f6739ce26..5251a510c4c 100644 --- a/sys/arch/arc/include/bus.h +++ b/sys/arch/arc/include/bus.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bus.h,v 1.13 1997/04/19 17:19:56 pefo Exp $ */ +/* $OpenBSD: bus.h,v 1.14 1998/01/20 18:40:11 niklas Exp $ */ /* * Copyright (c) 1997 Per Fogelstrom. All rights reserved. @@ -158,4 +158,8 @@ bus_space_write_raw_multi(4,32,2) #define bus_space_write_raw_multi_8 \ !!! bus_space_write_raw_multi_8 not implemented !!! +/* XXX placeholders */ +typedef void *bus_dma_tag_t; +typedef void *bus_dmamap_t; + #endif /* _ARC_BUS_H_ */ |