summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/include
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2006-03-04 10:31:51 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2006-03-04 10:31:51 +0000
commit26c4d9570133b59d3910645b10935dbebea47f29 (patch)
treeaeee7ae0c987812bf1e58a00e9b74c1f12bc1a0e /sys/arch/sparc64/include
parent15f96ae7179248fd4143e7b1705c2e417c813608 (diff)
<sparc64/dev/upavar.h> is unused except for struct upa_reg for autoconf, so
move it to <machine/autoconf.h>.
Diffstat (limited to 'sys/arch/sparc64/include')
-rw-r--r--sys/arch/sparc64/include/autoconf.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/arch/sparc64/include/autoconf.h b/sys/arch/sparc64/include/autoconf.h
index 9bf7a0292fd..87f7dbb11b5 100644
--- a/sys/arch/sparc64/include/autoconf.h
+++ b/sys/arch/sparc64/include/autoconf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: autoconf.h,v 1.10 2005/03/15 18:46:38 miod Exp $ */
+/* $OpenBSD: autoconf.h,v 1.11 2006/03/04 10:31:50 miod Exp $ */
/* $NetBSD: autoconf.h,v 1.10 2001/07/24 19:32:11 eeh Exp $ */
/*-
@@ -82,7 +82,6 @@
*/
#include <machine/bus.h>
-#include <sparc64/dev/upavar.h>
#include <dev/sbus/sbusvar.h>
/* This is used to map device classes to IPLs */
@@ -95,11 +94,14 @@ extern struct intrmap intrmap[];
/* The "mainbus" on ultra desktops is actually the UPA bus. We need to
* separate this from peripheral buses like SBUS and PCI because each bus may
* have different ways of encoding properties, such as "reg" and "interrupts".
- *
- * Eventually I'll create a real UPA bus module to allow servers with multiple
- * peripheral buses and things like FHC bus systems.
*/
+/* Device register space description */
+struct upa_reg {
+ int64_t ur_paddr;
+ int64_t ur_len;
+};
+
/*
* Attach arguments presented by mainbus_attach()
*