The RTC related pscnt and psdiv variables have no business being public.
This commit is contained in:
parent
b416a29043
commit
f168bfa529
@ -15,8 +15,6 @@
|
||||
* XXX large parts of the driver and its interface are misplaced.
|
||||
*/
|
||||
extern int clkintr_pending;
|
||||
extern int pscnt;
|
||||
extern int psdiv;
|
||||
extern int statclock_disable;
|
||||
extern u_int timer_freq;
|
||||
extern int timer0_max_count;
|
||||
|
@ -97,8 +97,8 @@ __FBSDID("$FreeBSD$");
|
||||
#define TIMER_DIV(x) ((timer_freq + (x) / 2) / (x))
|
||||
|
||||
int clkintr_pending;
|
||||
int pscnt = 1;
|
||||
int psdiv = 1;
|
||||
static int pscnt = 1;
|
||||
static int psdiv = 1;
|
||||
int statclock_disable;
|
||||
#ifndef TIMER_FREQ
|
||||
#define TIMER_FREQ 1193182
|
||||
|
@ -15,8 +15,6 @@
|
||||
* XXX large parts of the driver and its interface are misplaced.
|
||||
*/
|
||||
extern int clkintr_pending;
|
||||
extern int pscnt;
|
||||
extern int psdiv;
|
||||
extern int statclock_disable;
|
||||
extern u_int timer_freq;
|
||||
extern int timer0_max_count;
|
||||
|
@ -100,8 +100,8 @@ __FBSDID("$FreeBSD$");
|
||||
#define TIMER_DIV(x) ((timer_freq + (x) / 2) / (x))
|
||||
|
||||
int clkintr_pending;
|
||||
int pscnt = 1;
|
||||
int psdiv = 1;
|
||||
static int pscnt = 1;
|
||||
static int psdiv = 1;
|
||||
int statclock_disable;
|
||||
#ifndef TIMER_FREQ
|
||||
#define TIMER_FREQ 1193182
|
||||
|
@ -100,8 +100,8 @@ __FBSDID("$FreeBSD$");
|
||||
#define TIMER_DIV(x) ((timer_freq + (x) / 2) / (x))
|
||||
|
||||
int clkintr_pending;
|
||||
int pscnt = 1;
|
||||
int psdiv = 1;
|
||||
static int pscnt = 1;
|
||||
static int psdiv = 1;
|
||||
int statclock_disable;
|
||||
#ifndef TIMER_FREQ
|
||||
#define TIMER_FREQ 1193182
|
||||
|
@ -96,8 +96,6 @@ __FBSDID("$FreeBSD$");
|
||||
#define TIMER_DIV(x) ((timer_freq + (x) / 2) / (x))
|
||||
|
||||
int clkintr_pending;
|
||||
int pscnt = 1;
|
||||
int psdiv = 1;
|
||||
int statclock_disable;
|
||||
#ifndef TIMER_FREQ
|
||||
#define TIMER_FREQ 2457600
|
||||
|
@ -96,8 +96,6 @@ __FBSDID("$FreeBSD$");
|
||||
#define TIMER_DIV(x) ((timer_freq + (x) / 2) / (x))
|
||||
|
||||
int clkintr_pending;
|
||||
int pscnt = 1;
|
||||
int psdiv = 1;
|
||||
int statclock_disable;
|
||||
#ifndef TIMER_FREQ
|
||||
#define TIMER_FREQ 2457600
|
||||
|
Loading…
x
Reference in New Issue
Block a user