Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/allwinner Change tc_quality so that gtmr can be...



details:   https://anonhg.NetBSD.org/src/rev/fae9fd52dce8
branches:  trunk
changeset: 337079:fae9fd52dce8
user:      skrll <skrll%NetBSD.org@localhost>
date:      Wed Apr 01 07:44:18 2015 +0000

description:
Change tc_quality so that gtmr can be used for MULTIPROCESSOR now that
gtmr has been fixed.

diffstat:

 sys/arch/arm/allwinner/awin_cnt.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (30 lines):

diff -r 41bd1834bad6 -r fae9fd52dce8 sys/arch/arm/allwinner/awin_cnt.c
--- a/sys/arch/arm/allwinner/awin_cnt.c Wed Apr 01 06:35:01 2015 +0000
+++ b/sys/arch/arm/allwinner/awin_cnt.c Wed Apr 01 07:44:18 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: awin_cnt.c,v 1.2 2014/11/17 08:48:59 skrll Exp $ */
+/* $NetBSD: awin_cnt.c,v 1.3 2015/04/01 07:44:18 skrll Exp $ */
 
 /*-
  * Copyright (c) 2014 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
 #include "opt_multiprocessor.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: awin_cnt.c,v 1.2 2014/11/17 08:48:59 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: awin_cnt.c,v 1.3 2015/04/01 07:44:18 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -102,11 +102,7 @@
        sc->sc_tc.tc_frequency = AWIN_REF_FREQ;
        sc->sc_tc.tc_name = "CNT64";
        sc->sc_tc.tc_priv = sc;
-#ifdef MULTIPROCESSOR
-       sc->sc_tc.tc_quality = 900;
-#else
        sc->sc_tc.tc_quality = 200;
-#endif
 
        tc_init(&sc->sc_tc);
 }



Home | Main Index | Thread Index | Old Index