summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/sbusreg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/dev/sbusreg.h')
-rw-r--r--sys/arch/sparc/dev/sbusreg.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/sys/arch/sparc/dev/sbusreg.h b/sys/arch/sparc/dev/sbusreg.h
index 3455f5eb366..25e630e4862 100644
--- a/sys/arch/sparc/dev/sbusreg.h
+++ b/sys/arch/sparc/dev/sbusreg.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: sbusreg.h,v 1.2 1997/08/08 08:25:27 downsj Exp $ */
-/* $NetBSD: sbusreg.h,v 1.2 1994/11/20 20:52:26 deraadt Exp $ */
+/* $OpenBSD: sbusreg.h,v 1.3 1997/09/17 06:47:11 downsj Exp $ */
+/* $NetBSD: sbusreg.h,v 1.3 1997/09/14 19:17:25 pk Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -60,3 +60,14 @@
#define SBUS_ABS(a) ((unsigned)(a) >= SBUS_BASE)
#define SBUS_ABS_TO_SLOT(a) (((a) - SBUS_BASE) >> 25)
#define SBUS_ABS_TO_OFFSET(a) (((a) - SBUS_BASE) & 0x1ffffff)
+
+struct sbusreg {
+ u_int32_t sbus_afsr; /* M-to-S Asynchronous Fault Status */
+ u_int32_t sbus_afar; /* M-to-S Asynchronous Fault Address */
+ u_int32_t sbus_arbiter; /* Arbiter Enable */
+ u_int32_t sbus_reserved1;
+
+#define NSBUSCFG 20
+ /* Actual number dependent on machine model */
+ u_int32_t sbus_sbuscfg[NSBUSCFG]; /* Sbus configuration control */
+};