Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/pmax/pmax Restore icsr value assignment op which wa...



details:   https://anonhg.NetBSD.org/src/rev/2a95f880a4dc
branches:  trunk
changeset: 514090:2a95f880a4dc
user:      nisimura <nisimura%NetBSD.org@localhost>
date:      Wed Aug 22 09:20:38 2001 +0000

description:
Restore icsr value assignment op which was lost since r1.21.

diffstat:

 sys/arch/pmax/pmax/dec_5100.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r d745a6bd1799 -r 2a95f880a4dc sys/arch/pmax/pmax/dec_5100.c
--- a/sys/arch/pmax/pmax/dec_5100.c     Wed Aug 22 08:54:51 2001 +0000
+++ b/sys/arch/pmax/pmax/dec_5100.c     Wed Aug 22 09:20:38 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dec_5100.c,v 1.30 2001/08/22 06:59:41 nisimura Exp $ */
+/* $NetBSD: dec_5100.c,v 1.31 2001/08/22 09:20:38 nisimura Exp $ */
 
 /*
  * Copyright (c) 1998 Jonathan Stone.  All rights reserved.
@@ -31,7 +31,7 @@
  */
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: dec_5100.c,v 1.30 2001/08/22 06:59:41 nisimura Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dec_5100.c,v 1.31 2001/08/22 09:20:38 nisimura Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -211,7 +211,7 @@
        /* read icsr and clear error  */
        icsr = *(volatile u_int32_t *)MIPS_PHYS_TO_KSEG1(KN230_SYS_ICSR);
        icsr |= KN230_CSR_INTR_WMERR;
-       *(volatile u_int32_t *)MIPS_PHYS_TO_KSEG1(KN230_SYS_ICSR);
+       *(volatile u_int32_t *)MIPS_PHYS_TO_KSEG1(KN230_SYS_ICSR) = icsr;
        kn230_wbflush();
 
 #ifdef DIAGNOSTIC



Home | Main Index | Thread Index | Old Index