summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/loran.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1998-10-23 10:46:20 +0000
committerphk <phk@FreeBSD.org>1998-10-23 10:46:20 +0000
commit2e36499ddf774a6f3844861b378a8f0d188543a2 (patch)
treee522b31280f16a354466e00d1053598bc2ded4d4 /sys/i386/isa/loran.c
parent8419aeb4deec44f455b556218d187574fc31da74 (diff)
downloadFreeBSD-src-2e36499ddf774a6f3844861b378a8f0d188543a2.zip
FreeBSD-src-2e36499ddf774a6f3844861b378a8f0d188543a2.tar.gz
Update timecounters to new interface.
Diffstat (limited to 'sys/i386/isa/loran.c')
-rw-r--r--sys/i386/isa/loran.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/isa/loran.c b/sys/i386/isa/loran.c
index ee34511..07aff88 100644
--- a/sys/i386/isa/loran.c
+++ b/sys/i386/isa/loran.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $Id: loran.c,v 1.8 1998/08/17 19:09:36 bde Exp $
+ * $Id: loran.c,v 1.9 1998/10/22 05:58:39 bde Exp $
*
* This device-driver helps the userland controlprogram for a LORAN-C
* receiver avoid monopolizing the CPU.
@@ -270,7 +270,7 @@ loranattach(struct isa_device *isdp)
init_tgc();
- init_timecounter(loran_timecounter);
+ init_timecounter(&loran_timecounter);
TAILQ_INIT(&qdone);
TAILQ_INIT(&qready);
@@ -560,7 +560,7 @@ loran_get_timecount(struct timecounter *tc)
return (count);
}
-static struct timecounter loran_timecounter[3] = {
+static struct timecounter loran_timecounter = {
loran_get_timecount, /* get_timecount */
0, /* no pps_poll */
0xffff, /* counter_mask */
OpenPOWER on IntegriCloud