From 56e5e1230b4e0bfc4f264e6750cca4f7dc0c9795 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Wed, 26 Apr 2006 20:48:07 +0000 Subject: 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. --- sys/arch/mvme88k/dev/vme.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'sys/arch') 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) { -- cgit v1.2.3