summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPaul Irofti <pirofti@cvs.openbsd.org>2013-01-15 01:08:44 +0000
committerPaul Irofti <pirofti@cvs.openbsd.org>2013-01-15 01:08:44 +0000
commit888aa04d8ccf18050c96bb942d1317bf51df2613 (patch)
treed5fd9bde62bb3511ef13f03e64a842a3a2500abd /sys
parent038b086416da991d57b8ff7a22628b5067639c13 (diff)
Loongson: Remove some of the unused defines.
Increases readability.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/loongson/dev/glxclk.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/loongson/dev/glxclk.c b/sys/arch/loongson/dev/glxclk.c
index fe3ed332bee..3870a9c0dbb 100644
--- a/sys/arch/loongson/dev/glxclk.c
+++ b/sys/arch/loongson/dev/glxclk.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: glxclk.c,v 1.2 2013/01/15 00:20:37 pirofti Exp $ */
+/* $OpenBSD: glxclk.c,v 1.3 2013/01/15 01:08:43 pirofti Exp $ */
/*
* Copyright (c) 2013 Paul Irofti.
@@ -69,12 +69,8 @@ struct cfattach glxclk_ca = {
#define AMD5536_MFGPT_STOP_EN (1 << 11) /* Stop enable */
#define AMD5536_MFGPT_CMP2MODE (1 << 9)|(1 << 8)/* Set to GE + activate IRQ */
#define AMD5536_MFGPT_SCALE 0x7 /* Set to 128 */
-#define AMD5536_MFGPT_CLKSEL (1 << 4) /* Clock select 14MHz */
-#define AMD5536_MFGPT1_C2_NMIM (1 << 9) /* Enable NMIs for MFGPT1 */
-#define AMD5536_MFGPT1_C2_RSTEN 0x02000000
#define AMD5536_MFGPT1_C2_IRQM 0x00000200
-#define AMD5536_MFGPT5_C2_IRQM 0x00002000
struct glxclk_softc *glxclk_sc;