diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1997-09-17 06:47:23 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1997-09-17 06:47:23 +0000 |
commit | a53c76d8206c35d6e769479df16512e32cecd314 (patch) | |
tree | d859e8328321d144b06be62b083047a6c9bf62b7 /sys/arch/sparc/dev/sbusreg.h | |
parent | 98c6f7749315311376108135d25b0d86a7f8320a (diff) |
NETBSD_CURRENT_970916. Lot's just ID changes, since changes don't apply to
us. Includes some pmap changes, for which I don't have the original commit
message(s) handy.
Diffstat (limited to 'sys/arch/sparc/dev/sbusreg.h')
-rw-r--r-- | sys/arch/sparc/dev/sbusreg.h | 15 |
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 */ +}; |