diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-04-21 19:33:48 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-04-21 19:33:48 +0000 |
commit | 6091432ef10a115d6df3da0ffff5bf63a26d6a31 (patch) | |
tree | fdfefa72cb48139405d4f21b9f77abf73aaee5d0 /sys/arch/aviion/dev/mainbus.c | |
parent | 403a35f383969fa15140ed4da996a8be56ac6470 (diff) |
More reworking of interrupt handling and VME support, and rename various
board-specific defines to prevent any risk of collision. This also adds
clock support for AV530 family, and timecounter support (cio code sync'ed
with mvme88k). And various bugs fixed in the process.
This is enough to get models 4600 and 530 to run multiuser with a Hawk
Ethernet VME card (the onboard Ethernet is not supported yet, coming soon).
There is no way to share a disk with DG/UX yet, the kernel (and fdisk(8))
needs to become aware of its ways.
Diffstat (limited to 'sys/arch/aviion/dev/mainbus.c')
-rw-r--r-- | sys/arch/aviion/dev/mainbus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/aviion/dev/mainbus.c b/sys/arch/aviion/dev/mainbus.c index 403ee92812f..8d034f1c597 100644 --- a/sys/arch/aviion/dev/mainbus.c +++ b/sys/arch/aviion/dev/mainbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mainbus.c,v 1.3 2010/04/20 22:53:24 miod Exp $ */ +/* $OpenBSD: mainbus.c,v 1.4 2010/04/21 19:33:47 miod Exp $ */ /* * Copyright (c) 1998 Steve Murphree, Jr. * Copyright (c) 2004, Miodrag Vallat. @@ -36,6 +36,7 @@ #include <uvm/uvm_extern.h> #include <machine/autoconf.h> +#include <machine/board.h> #include <machine/bus.h> #include <machine/cmmu.h> #include <machine/cpu.h> @@ -128,7 +129,6 @@ void mainbus_attach(struct device *parent, struct device *self, void *args) { extern char cpu_model[]; - extern int32_t cpuid, sysid; printf(": %s, cpuid 0x%x", cpu_model, cpuid); if (sysid != -1) |