temporary until they get merged for good (or split differently).
-/* $OpenBSD: uba_common.h,v 1.4 2003/11/10 21:05:06 miod Exp $ */
+/* $OpenBSD: uba_common.h,v 1.5 2008/08/18 23:10:39 miod Exp $ */
/* $NetBSD: uba_common.h,v 1.2 1999/06/21 16:23:01 ragge Exp $ */
/*-
* Copyright (c) 1982, 1986 The Regents of the University of California.
pt_entry_t uba_map[UBAPAGES]; /* unibus map register */
int pad3[UBAIOPAGES]; /* no maps for device address space */
};
+#define UBA_REGS_DEFINED
void uba_dma_init(struct uba_vsoftc *);
-/* $OpenBSD: ubareg.h,v 1.11 2003/11/10 21:05:06 miod Exp $ */
+/* $OpenBSD: ubareg.h,v 1.12 2008/08/18 23:10:39 miod Exp $ */
/* $NetBSD: ubareg.h,v 1.11 2000/01/24 02:40:36 matt Exp $ */
/*-
#define UBAIOADDR 0760000 /* start of I/O page */
#define UBAIOPAGES 16
-#ifndef _LOCORE
+#if !defined(_LOCORE) && !defined(UBA_REGS_DEFINED)
/*
* DW780/DW750 hardware registers
*/