summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2003-02-11 19:20:29 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2003-02-11 19:20:29 +0000
commit9f03a5af0492cb853685880bbbd9cbc622fa942f (patch)
tree96c6440dfb40fb88110394ed46c228cde9f0922d /sys/arch/sparc/dev
parentba0bc613711d8eafa59eaaaad0a136d1566e7e36 (diff)
be consistant on Hz vs hz
Diffstat (limited to 'sys/arch/sparc/dev')
-rw-r--r--sys/arch/sparc/dev/esp.c4
-rw-r--r--sys/arch/sparc/dev/magma.c4
-rw-r--r--sys/arch/sparc/dev/magmareg.h4
-rw-r--r--sys/arch/sparc/dev/spif.c4
-rw-r--r--sys/arch/sparc/dev/spifreg.h6
5 files changed, 11 insertions, 11 deletions
diff --git a/sys/arch/sparc/dev/esp.c b/sys/arch/sparc/dev/esp.c
index bc97c794a1a..85e23344de6 100644
--- a/sys/arch/sparc/dev/esp.c
+++ b/sys/arch/sparc/dev/esp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: esp.c,v 1.19 2002/04/30 01:12:29 art Exp $ */
+/* $OpenBSD: esp.c,v 1.20 2003/02/11 19:20:26 mickey Exp $ */
/* $NetBSD: esp.c,v 1.69 1997/08/27 11:24:18 bouyer Exp $ */
/*
@@ -254,7 +254,7 @@ espattach(parent, self, aux)
sc->sc_freq = ((struct sbus_softc *)
sc->sc_dev.dv_parent)->sc_clockfreq;
- /* gimme Mhz */
+ /* gimme MHz */
sc->sc_freq /= 1000000;
if (dmachild) {
diff --git a/sys/arch/sparc/dev/magma.c b/sys/arch/sparc/dev/magma.c
index 931711846ad..e5f91cf9f06 100644
--- a/sys/arch/sparc/dev/magma.c
+++ b/sys/arch/sparc/dev/magma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: magma.c,v 1.13 2002/04/30 01:12:29 art Exp $ */
+/* $OpenBSD: magma.c,v 1.14 2003/02/11 19:20:26 mickey Exp $ */
/*
* magma.c
*
@@ -422,7 +422,7 @@ void *base;
/* seemingly the Magma drivers just ignore the propstring */
cd->cd_chiprev = cd1400_read_reg(cd, CD1400_GFRCR);
- dprintf(("%s attach CD1400 %d addr 0x%x rev %x clock %dMhz\n", sc->ms_dev.dv_xname, chip, cd->cd_reg, cd->cd_chiprev, cd->cd_clock));
+ dprintf(("%s attach CD1400 %d addr 0x%x rev %x clock %dMHz\n", sc->ms_dev.dv_xname, chip, cd->cd_reg, cd->cd_chiprev, cd->cd_clock));
/* clear GFRCR */
cd1400_write_reg(cd, CD1400_GFRCR, 0x00);
diff --git a/sys/arch/sparc/dev/magmareg.h b/sys/arch/sparc/dev/magmareg.h
index 213f9f16551..35d3b9cfdbe 100644
--- a/sys/arch/sparc/dev/magmareg.h
+++ b/sys/arch/sparc/dev/magmareg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: magmareg.h,v 1.7 2002/03/14 01:26:43 millert Exp $ */
+/* $OpenBSD: magmareg.h,v 1.8 2003/02/11 19:20:26 mickey Exp $ */
/* magmareg.h
*
@@ -90,7 +90,7 @@ struct magma_board_info {
struct cd1400 {
__volatile u_char *cd_reg; /* chip registers */
int cd_chiprev; /* chip revision */
- int cd_clock; /* clock speed in Mhz */
+ int cd_clock; /* clock speed in MHz */
int cd_parmode; /* parallel mode operation */
};
diff --git a/sys/arch/sparc/dev/spif.c b/sys/arch/sparc/dev/spif.c
index 5bde86c4c4a..1d28652c70b 100644
--- a/sys/arch/sparc/dev/spif.c
+++ b/sys/arch/sparc/dev/spif.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: spif.c,v 1.12 2002/04/30 01:12:29 art Exp $ */
+/* $OpenBSD: spif.c,v 1.13 2003/02/11 19:20:26 mickey Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -203,7 +203,7 @@ spifattach(parent, self, aux)
sc->sc_regs->stc.gscr1 = 0;
sc->sc_regs->stc.gscr2 = 0;
sc->sc_regs->stc.gscr3 = 0;
- printf(": rev %x chiprev %x osc %sMhz stcpri %d ppcpri %d softpri %d\n",
+ printf(": rev %x chiprev %x osc %sMHz stcpri %d ppcpri %d softpri %d\n",
sc->sc_rev, sc->sc_rev2, clockfreq(sc->sc_osc),
stcpri, ppcpri, IPL_TTY);
diff --git a/sys/arch/sparc/dev/spifreg.h b/sys/arch/sparc/dev/spifreg.h
index 8a7481f37e7..b95e20fc8a9 100644
--- a/sys/arch/sparc/dev/spifreg.h
+++ b/sys/arch/sparc/dev/spifreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: spifreg.h,v 1.8 2002/06/14 21:34:59 todd Exp $ */
+/* $OpenBSD: spifreg.h,v 1.9 2003/02/11 19:20:26 mickey Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -387,8 +387,8 @@ struct spifregs {
/*
* "verosc" node tells which oscillator we have.
*/
-#define SPIF_OSC9 1 /* 9.8304 Mhz */
-#define SPIF_OSC10 2 /* 10Mhz */
+#define SPIF_OSC9 1 /* 9.8304 MHz */
+#define SPIF_OSC10 2 /* 10MHz */
/*
* There are two interrupts, serial gets interrupt[0], and parallel