diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2006-04-26 20:48:07 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2006-04-26 20:48:07 +0000 |
commit | 56e5e1230b4e0bfc4f264e6750cca4f7dc0c9795 (patch) | |
tree | 0919c2553e385d0222b22293e59a8040141a03d0 | |
parent | 16f2d84caad20a05f17ca97b62e4ef464738ab53 (diff) |
We do not need to reserve the 0x60..0x7f interrupt vector range on MVME188,
so let VME interrupt numbers start at 0x60 on these machines.
-rw-r--r-- | sys/arch/mvme88k/dev/vme.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/sys/arch/mvme88k/dev/vme.c b/sys/arch/mvme88k/dev/vme.c index daf63f9fe3d..04b9a385ff6 100644 --- a/sys/arch/mvme88k/dev/vme.c +++ b/sys/arch/mvme88k/dev/vme.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vme.c,v 1.42 2006/04/17 18:27:30 miod Exp $ */ +/* $OpenBSD: vme.c,v 1.43 2006/04/26 20:48:06 miod Exp $ */ /* * Copyright (c) 2004, Miodrag Vallat. * Copyright (c) 1999 Steve Murphree, Jr. @@ -285,7 +285,7 @@ vmeattach(parent, self, args) { u_int8_t sconc; - vmevecbase = 0x80; /* Hard coded for MVME188 */ + vmevecbase = 0x60; /* Hard coded for MVME188 */ sconc = *(volatile u_int8_t *)MVME188_GLOBAL1; if (ISSET(sconc, M188_SYSCON)) printf(": system controller"); @@ -454,16 +454,6 @@ vmerw(sc, uio, flags, bus) * interrupt. If you share you will lose. */ -/* - * All VME bus devices will use a vector starting with VBR1 + 0x10 - * and determined by intr_findvec(). (in machdep.c) vmeintr_establish() - * should be called with the 'vec' argument = 0 to 'auto vector' a - * VME device. - * - * The 8 SW interrupters will start with VBR1. The rest will start - * with VBR0< 4) & 0xFF. - */ - int vmeintr_establish(int vec, struct intrhand *ih, const char *name) { |