diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 1998-06-07 20:36:55 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1998-06-07 20:36:55 +0000 |
commit | 48115288df36c5eaaf8e456d4f0a5d212e4f9b4f (patch) | |
tree | a913d0236c0f9a443162d110057a5c6ec3f6e9ee /sys/isa/atrtc.c | |
parent | d287aa098c88e91c2aac68e25eb599311532f235 (diff) | |
download | src-48115288df36c5eaaf8e456d4f0a5d212e4f9b4f.tar.gz src-48115288df36c5eaaf8e456d4f0a5d212e4f9b4f.zip |
Add a member function more to the timecounters, this one is for use
with latch based PPS implementations. The client that uses it will
be committed after more testing.
Notes
Notes:
svn path=/head/; revision=36741
Diffstat (limited to 'sys/isa/atrtc.c')
-rw-r--r-- | sys/isa/atrtc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/isa/atrtc.c b/sys/isa/atrtc.c index 9c8e44f29f2a..0cc4bc25cd1e 100644 --- a/sys/isa/atrtc.c +++ b/sys/isa/atrtc.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)clock.c 7.2 (Berkeley) 5/12/91 - * $Id: clock.c,v 1.121 1998/05/28 09:30:06 phk Exp $ + * $Id: clock.c,v 1.122 1998/06/07 08:40:23 phk Exp $ */ /* @@ -175,6 +175,7 @@ static void set_timer_freq(u_int freq, int intr_freq); static struct timecounter tsc_timecounter[3] = { tsc_get_timecount, /* get_timecount */ + 0, /* no poll_pps */ ~0u, /* counter_mask */ 0, /* frequency */ "TSC" /* name */ @@ -185,6 +186,7 @@ SYSCTL_OPAQUE(_debug, OID_AUTO, tsc_timecounter, CTLFLAG_RD, static struct timecounter i8254_timecounter[3] = { i8254_get_timecount, /* get_timecount */ + 0, /* no poll_pps */ ~0u, /* counter_mask */ 0, /* frequency */ "i8254" /* name */ |