diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2008-08-15 22:40:08 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2008-08-15 22:40:08 +0000 |
commit | 218700e097cff9a30781a072fd7c9614d839d60e (patch) | |
tree | 264c0a961c8184438075e129b3ce4c40cf2f2fff /sys/arch/vax/include | |
parent | 242c364a8ebb8e7e6a55f734898740a6d1f7bb85 (diff) |
Remove unused and incomplete vax_bus_t enum, and unused vaxbus_dma_get_tag()
macro and related function pointers.
Diffstat (limited to 'sys/arch/vax/include')
-rw-r--r-- | sys/arch/vax/include/bus.h | 28 |
1 files changed, 1 insertions, 27 deletions
diff --git a/sys/arch/vax/include/bus.h b/sys/arch/vax/include/bus.h index 311b9cbd672..5e054f7e537 100644 --- a/sys/arch/vax/include/bus.h +++ b/sys/arch/vax/include/bus.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bus.h,v 1.10 2008/06/26 05:42:14 ray Exp $ */ +/* $OpenBSD: bus.h,v 1.11 2008/08/15 22:39:59 miod Exp $ */ /* $NetBSD: bus.h,v 1.14 2000/06/26 04:56:13 simonb Exp $ */ /*- @@ -791,23 +791,6 @@ struct vax_sgmap; #define BUS_DMASYNC_PREWRITE 0x04 /* pre-write synchronization */ #define BUS_DMASYNC_POSTWRITE 0x08 /* post-write synchronization */ -/* - * vax_bus_t - * - * Busses supported by NetBSD/vax, used by internal - * utility functions. NOT TO BE USED BY MACHINE-INDEPENDENT - * CODE! - */ -typedef enum { - VAX_BUS_MAINBUS, - VAX_BUS_SBI, - VAX_BUS_MASSBUS, - VAX_BUS_UNIBUS, /* Also handles QBUS */ - VAX_BUS_BI, - VAX_BUS_XMI, - VAX_BUS_TURBOCHANNEL -} vax_bus_t; - typedef struct vax_bus_dma_tag *bus_dma_tag_t; typedef struct vax_bus_dmamap *bus_dmamap_t; @@ -852,12 +835,6 @@ struct vax_bus_dma_tag { struct vax_sgmap *_sgmap; /* - * Internal-use only utility methods. NOT TO BE USED BY - * MACHINE-INDEPENDENT CODE! - */ - bus_dma_tag_t (*_get_tag)(bus_dma_tag_t, vax_bus_t); - - /* * DMA mapping methods. */ int (*_dmamap_create)(bus_dma_tag_t, bus_size_t, int, @@ -889,9 +866,6 @@ struct vax_bus_dma_tag { int, off_t, int, int); }; -#define vaxbus_dma_get_tag(t, b) \ - (*(t)->_get_tag)(t, b) - #define bus_dmamap_create(t, s, n, m, b, f, p) \ (*(t)->_dmamap_create)((t), (s), (n), (m), (b), (f), (p)) #define bus_dmamap_destroy(t, p) \ |