summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/isa/spkrreg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/powerpc/isa/spkrreg.h')
-rw-r--r--sys/arch/powerpc/isa/spkrreg.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/arch/powerpc/isa/spkrreg.h b/sys/arch/powerpc/isa/spkrreg.h
new file mode 100644
index 00000000000..ab9becf1fed
--- /dev/null
+++ b/sys/arch/powerpc/isa/spkrreg.h
@@ -0,0 +1,12 @@
+/* $OpenBSD: spkrreg.h,v 1.1 1998/09/27 03:55:58 rahnds Exp $ */
+/* $NetBSD: spkrreg.h,v 1.1 1996/04/12 01:54:46 cgd Exp $ */
+
+/*
+ * PIT port addresses and speaker control values
+ */
+
+#define PITAUX_PORT 0x61 /* port of Programmable Peripheral Interface */
+#define PIT_ENABLETMR2 0x01 /* Enable timer/counter 2 */
+#define PIT_SPKRDATA 0x02 /* Direct to speaker */
+
+#define PIT_SPKR (PIT_ENABLETMR2|PIT_SPKRDATA)