summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason <jason@openbsd.org>2002-01-18 14:29:35 +0000
committerjason <jason@openbsd.org>2002-01-18 14:29:35 +0000
commit4ef0d432ec5327d9433d514efe5c26edd0b71d89 (patch)
tree6b70a406a59540b63e0b23c5e8f377779edb78f3
parentWhen listing buffers, detect if the buffer name is too long to fit in the (diff)
downloadwireguard-openbsd-4ef0d432ec5327d9433d514efe5c26edd0b71d89.tar.xz
wireguard-openbsd-4ef0d432ec5327d9433d514efe5c26edd0b71d89.zip
Move CS_TIMEOUT decl
-rw-r--r--sys/arch/sparc/dev/cs4231.c4
-rw-r--r--sys/arch/sparc/dev/cs4231reg.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/sparc/dev/cs4231.c b/sys/arch/sparc/dev/cs4231.c
index a5aa59e71fc..be137fe8265 100644
--- a/sys/arch/sparc/dev/cs4231.c
+++ b/sys/arch/sparc/dev/cs4231.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cs4231.c,v 1.9 2002/01/11 22:12:18 jason Exp $ */
+/* $OpenBSD: cs4231.c,v 1.10 2002/01/18 14:29:35 jason Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -110,6 +110,8 @@
/* cs4231 playback interrupt */
#define CS_AFS_PI 0x10 /* playback interrupt */
+#define CS_TIMEOUT 90000 /* recalibration timeout */
+
int cs4231_match __P((struct device *, void *, void *));
void cs4231_attach __P((struct device *, struct device *, void *));
int cs4231_intr __P((void *));
diff --git a/sys/arch/sparc/dev/cs4231reg.h b/sys/arch/sparc/dev/cs4231reg.h
index 679725176e7..ed8e71619c1 100644
--- a/sys/arch/sparc/dev/cs4231reg.h
+++ b/sys/arch/sparc/dev/cs4231reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cs4231reg.h,v 1.2 2002/01/11 22:12:18 jason Exp $ */
+/* $OpenBSD: cs4231reg.h,v 1.3 2002/01/18 14:29:35 jason Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -35,8 +35,6 @@
* Driver for the CS4231 audio in some sun4m systems
*/
-#define CS_TIMEOUT 90000
-
/*
* CS4231 registers from CS web site and Solaris 2.6 includes.
*/