Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/mvme Placate -Wshadow



details:   https://anonhg.NetBSD.org/src/rev/fdc2fc08d08b
branches:  trunk
changeset: 581600:fdc2fc08d08b
user:      scw <scw%NetBSD.org@localhost>
date:      Fri Jun 03 08:42:54 2005 +0000

description:
Placate -Wshadow

diffstat:

 sys/dev/mvme/clock_pcctwo.c |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (50 lines):

diff -r f08163831013 -r fdc2fc08d08b sys/dev/mvme/clock_pcctwo.c
--- a/sys/dev/mvme/clock_pcctwo.c       Fri Jun 03 07:11:20 2005 +0000
+++ b/sys/dev/mvme/clock_pcctwo.c       Fri Jun 03 08:42:54 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: clock_pcctwo.c,v 1.7 2005/04/14 12:36:38 scw Exp $     */
+/*     $NetBSD: clock_pcctwo.c,v 1.8 2005/06/03 08:42:54 scw Exp $     */
 
 /*-
  * Copyright (c) 1999, 2002 The NetBSD Foundation, Inc.
@@ -43,7 +43,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: clock_pcctwo.c,v 1.7 2005/04/14 12:36:38 scw Exp $");
+__KERNEL_RCSID(0, "$NetBSD: clock_pcctwo.c,v 1.8 2005/06/03 08:42:54 scw Exp $");
 
 #include <sys/param.h>
 #include <sys/kernel.h>
@@ -138,10 +138,10 @@
 }
 
 void
-clock_pcctwo_initclocks(arg, proftick, stattick)
+clock_pcctwo_initclocks(arg, prof_us, stat_us)
        void *arg;
-       int proftick;
-       int stattick;
+       int prof_us;
+       int stat_us;
 {
        struct clock_pcctwo_softc *sc;
 
@@ -150,7 +150,7 @@
        pcc2_reg_write(sys_pcctwo, PCC2REG_TIMER1_CONTROL, PCCTWO_TT_CTRL_COVF);
        pcc2_reg_write32(sys_pcctwo, PCC2REG_TIMER1_COUNTER, 0);
        pcc2_reg_write32(sys_pcctwo, PCC2REG_TIMER1_COMPARE,
-           PCCTWO_US2LIM(proftick));
+           PCCTWO_US2LIM(prof_us));
        pcc2_reg_write(sys_pcctwo, PCC2REG_TIMER1_CONTROL,
            PCCTWO_TT_CTRL_CEN | PCCTWO_TT_CTRL_COC | PCCTWO_TT_CTRL_COVF);
        pcc2_reg_write(sys_pcctwo, PCC2REG_TIMER1_ICSR, sc->sc_clock_lvl);
@@ -158,7 +158,7 @@
        pcc2_reg_write(sys_pcctwo, PCC2REG_TIMER2_CONTROL, PCCTWO_TT_CTRL_COVF);
        pcc2_reg_write32(sys_pcctwo, PCC2REG_TIMER2_COUNTER, 0);
        pcc2_reg_write32(sys_pcctwo, PCC2REG_TIMER2_COMPARE,
-           PCCTWO_US2LIM(stattick));
+           PCCTWO_US2LIM(stat_us));
        pcc2_reg_write(sys_pcctwo, PCC2REG_TIMER2_CONTROL,
            PCCTWO_TT_CTRL_CEN | PCCTWO_TT_CTRL_COC | PCCTWO_TT_CTRL_COVF);
        pcc2_reg_write(sys_pcctwo, PCC2REG_TIMER2_ICSR, sc->sc_clock_lvl);



Home | Main Index | Thread Index | Old Index