summaryrefslogtreecommitdiff
path: root/sys/arch/hp300
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/hp300')
-rw-r--r--sys/arch/hp300/hp300/clock.c4
-rw-r--r--sys/arch/hp300/hp300/clockreg.h6
-rw-r--r--sys/arch/hp300/include/cpu.h4
-rw-r--r--sys/arch/hp300/include/hp300spu.h4
4 files changed, 9 insertions, 9 deletions
diff --git a/sys/arch/hp300/hp300/clock.c b/sys/arch/hp300/hp300/clock.c
index 17d6239dc71..a203b504ea0 100644
--- a/sys/arch/hp300/hp300/clock.c
+++ b/sys/arch/hp300/hp300/clock.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: clock.c,v 1.7 2002/03/14 01:26:30 millert Exp $ */
+/* $OpenBSD: clock.c,v 1.8 2003/02/11 19:20:25 mickey Exp $ */
/* $NetBSD: clock.c,v 1.20 1997/04/27 20:43:38 thorpej Exp $ */
/*
@@ -45,7 +45,7 @@
/*
* HPs use the MC6840 PTM with the following arrangement:
- * Timers 1 and 3 are externally driver from a 25Mhz source.
+ * Timers 1 and 3 are externally driver from a 25MHz source.
* Output from timer 3 is tied to the input of timer 2.
* The latter makes it possible to use timers 3 and 2 together to get
* a 32-bit countdown timer.
diff --git a/sys/arch/hp300/hp300/clockreg.h b/sys/arch/hp300/hp300/clockreg.h
index fa76e6122dc..0d12987e580 100644
--- a/sys/arch/hp300/hp300/clockreg.h
+++ b/sys/arch/hp300/hp300/clockreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: clockreg.h,v 1.2 1997/01/12 15:13:13 downsj Exp $ */
+/* $OpenBSD: clockreg.h,v 1.3 2003/02/11 19:20:26 mickey Exp $ */
/* $NetBSD: clockreg.h,v 1.5 1994/10/26 07:25:26 cgd Exp $ */
/*
@@ -91,10 +91,10 @@ struct clkreg {
#define CLK_INT3 0x04 /* interrupt flag for timer 3 (SR only) */
#define CLK_INTR 0x80 /* composite interrupt flag (SR only) */
-#define CLK_RESOLUTION 4 /* 4 usec resolution (250Khz) */
+#define CLK_RESOLUTION 4 /* 4 usec resolution (250KHz) */
#define CLK_INTERVAL 2500 /* 10msec interval at 250KHz */
#ifdef NOTDEF
-#define CLK_INTERVAL 5000 /* 20msec interval at 250Khz */
+#define CLK_INTERVAL 5000 /* 20msec interval at 250KHz */
#endif
/*
diff --git a/sys/arch/hp300/include/cpu.h b/sys/arch/hp300/include/cpu.h
index 9c664b5cf7c..66b7a8d1b12 100644
--- a/sys/arch/hp300/include/cpu.h
+++ b/sys/arch/hp300/include/cpu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.h,v 1.20 2002/06/07 21:33:43 nordin Exp $ */
+/* $OpenBSD: cpu.h,v 1.21 2003/02/11 19:20:26 mickey Exp $ */
/* $NetBSD: cpu.h,v 1.28 1998/02/13 07:41:51 scottr Exp $ */
/*
@@ -117,7 +117,7 @@ extern int astpending; /* need to trap before returning to user mode */
* CTL_MACHDEP definitions.
*/
#define CPU_CONSDEV 1 /* dev_t: console terminal device */
-#define CPU_CPUSPEED 2 /* CPU speed in Mhz */
+#define CPU_CPUSPEED 2 /* CPU speed in MHz */
#define CPU_MACHINEID 3 /* machine id (HP_XXX) */
#define CPU_MMUID 4 /* mmu id (MMUID_*) */
#define CPU_MAXID 5 /* number of valid machdep ids */
diff --git a/sys/arch/hp300/include/hp300spu.h b/sys/arch/hp300/include/hp300spu.h
index 1663f1cd27c..a7ec1e364d5 100644
--- a/sys/arch/hp300/include/hp300spu.h
+++ b/sys/arch/hp300/include/hp300spu.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: hp300spu.h,v 1.5 2001/11/04 02:58:03 miod Exp $ */
+/* $OpenBSD: hp300spu.h,v 1.6 2003/02/11 19:20:26 mickey Exp $ */
/* $NetBSD: hp300spu.h,v 1.2 1997/05/01 05:26:48 thorpej Exp $ */
/*-
@@ -68,7 +68,7 @@
#define MMUID_425_S 7 /* 425s - 25MHz Strider */
#define MMUID_433_T 4 /* 433t - 33MHz Trailways */
#define MMUID_433_S 6 /* 433s - 33MHz Strider */
-#define MMUID_425_E 9 /* 425e - 25Mhz Woody */
+#define MMUID_425_E 9 /* 425e - 25MHz Woody */
#define MMUID_SHIFT 8 /* left shift by this... */
#define MMUID_MASK 0xff /* ...and mask with this to get mmuid */