summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/dev/sclock.c
diff options
context:
space:
mode:
authorSteve Murphree <smurph@cvs.openbsd.org>2001-03-09 05:44:44 +0000
committerSteve Murphree <smurph@cvs.openbsd.org>2001-03-09 05:44:44 +0000
commit4424fbaf9a87f60b70a8e78a26ca3c269d4851d6 (patch)
tree854dcd80017eaca186784e5b5d007809cecfaf6d /sys/arch/mvme88k/dev/sclock.c
parent70dc353ae31df19a481d5ec5cd2f83804fa0f7ea (diff)
kernel will compile with -Werror. Added intr.h
Diffstat (limited to 'sys/arch/mvme88k/dev/sclock.c')
-rw-r--r--sys/arch/mvme88k/dev/sclock.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/sys/arch/mvme88k/dev/sclock.c b/sys/arch/mvme88k/dev/sclock.c
index e129aa29703..30feb7d3e0d 100644
--- a/sys/arch/mvme88k/dev/sclock.c
+++ b/sys/arch/mvme88k/dev/sclock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sclock.c,v 1.4 2001/03/07 23:45:51 miod Exp $ */
+/* $OpenBSD: sclock.c,v 1.5 2001/03/09 05:44:39 smurph Exp $ */
/*
* Copyright (c) 1999 Steve Murphree, Jr.
*
@@ -150,8 +150,8 @@ u_char stat_reset;
*/
int
sclockmatch(parent, vcf, args)
-struct device *parent;
-void *vcf, *args;
+ struct device *parent;
+ void *vcf, *args;
{
register struct confargs *ca = args;
register struct cfdata *cf = vcf;
@@ -173,8 +173,8 @@ void *vcf, *args;
void
sclockattach(parent, self, args)
-struct device *parent, *self;
-void *args;
+ struct device *parent, *self;
+ void *args;
{
struct confargs *ca = args;
struct sclocksoftc *sc = (struct sclocksoftc *)self;
@@ -349,7 +349,7 @@ m188_initstatclock(void)
/* Write CIO register */
void
write_cio(reg, val)
-unsigned reg,val;
+ unsigned reg,val;
{
int s, i;
volatile int *cio_ctrl = (volatile int *)CIO_CNTRL;
@@ -371,7 +371,7 @@ unsigned reg,val;
/* Read CIO register */
static u_char
read_cio(reg)
-unsigned reg;
+ unsigned reg;
{
int c;
int s, i;
@@ -398,7 +398,8 @@ unsigned reg;
*/
void
-m188_cio_init(unsigned p)
+m188_cio_init(p)
+ unsigned p;
{
long i;
short period;