Change tc_quality so that gtmr can be used for MULTIPROCESSOR now that
gtmr has been fixed.
This commit is contained in:
parent
6d5bd4db35
commit
ddc1f2e3f5
@ -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>
|
||||
@ -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 @@ awin_cnt_attach(device_t parent, device_t self, void *aux)
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user