Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/arch/vax mba.c: Pullup revision 1.25



details:   https://anonhg.NetBSD.org/src/rev/4e0fe2a00434
branches:  netbsd-1-5
changeset: 488782:4e0fe2a00434
user:      matt <matt%NetBSD.org@localhost>
date:      Thu Jul 27 16:58:40 2000 +0000

description:
mba.c: Pullup revision 1.25
scb.h: Pullup revision 1.11
   Correct vector initialization to use correct values

diffstat:

 sys/arch/vax/include/scb.h |  4 ++--
 sys/arch/vax/mba/mba.c     |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r ad4ba190c592 -r 4e0fe2a00434 sys/arch/vax/include/scb.h
--- a/sys/arch/vax/include/scb.h        Thu Jul 27 16:53:16 2000 +0000
+++ b/sys/arch/vax/include/scb.h        Thu Jul 27 16:58:40 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: scb.h,v 1.10 2000/06/05 00:09:19 matt Exp $    */
+/*     $NetBSD: scb.h,v 1.10.2.1 2000/07/27 16:58:41 matt Exp $        */
 
 /*
  * Copyright (c) 1994 Ludd, University of Lule}, Sweden.
@@ -107,7 +107,7 @@
 #define        SCB_KSTACK      0
 #define        SCB_ISTACK      1
 
-#define vecnum(bus, ipl, tr) (256+(ipl-14)*64+tr*4+bus*256)
+#define vecnum(bus, ipl, tr) (256+(ipl-0x14)*64+tr*4+bus*256)
 
 /*
  * This struct is used when setting up interrupt vectors dynamically.
diff -r ad4ba190c592 -r 4e0fe2a00434 sys/arch/vax/mba/mba.c
--- a/sys/arch/vax/mba/mba.c    Thu Jul 27 16:53:16 2000 +0000
+++ b/sys/arch/vax/mba/mba.c    Thu Jul 27 16:58:40 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mba.c,v 1.22 2000/06/05 00:09:19 matt Exp $ */
+/*     $NetBSD: mba.c,v 1.22.2.1 2000/07/27 16:58:40 matt Exp $ */
 /*
  * Copyright (c) 1994, 1996 Ludd, University of Lule}, Sweden.
  * All rights reserved.
@@ -135,7 +135,7 @@
        /*
         * Set up interrupt vectors for this MBA.
         */
-       for (i = 14; i < 18; i++)
+       for (i = 0x14; i < 0x18; i++)
                scb_vecalloc(vecnum(0, i, sa->sa_nexnum),
                    mbaintr, sc, SCB_ISTACK, &sc->sc_intrcnt);
        evcnt_attach_dynamic(&sc->sc_intrcnt, EVCNT_TYPE_INTR, NULL,



Home | Main Index | Thread Index | Old Index