The RTC related pscnt and psdiv variables have no business being public.

This commit is contained in:
Poul-Henning Kamp 2008-03-26 13:25:27 +00:00
parent b416a29043
commit f168bfa529
7 changed files with 6 additions and 14 deletions

View File

@ -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;

View File

@ -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

View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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