summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorgpalmer <gpalmer@FreeBSD.org>1997-03-04 09:24:01 +0000
committergpalmer <gpalmer@FreeBSD.org>1997-03-04 09:24:01 +0000
commit8806be3d902f6e9707885a3012fe1e2d57003974 (patch)
tree138f8ac7fef0a7849cc7b4fbb1cc375cd6d4bc3d /sys
parent1ec65d54b1cc00a71bbddd09fac6514a20133355 (diff)
downloadFreeBSD-src-8806be3d902f6e9707885a3012fe1e2d57003974.zip
FreeBSD-src-8806be3d902f6e9707885a3012fe1e2d57003974.tar.gz
Split the rather long and line-wrapping clock probe messages on boot.
(2.2?) Submitted by: Mathew Dood <winter@jurai.net>
Diffstat (limited to 'sys')
-rw-r--r--sys/amd64/amd64/tsc.c10
-rw-r--r--sys/amd64/isa/clock.c10
-rw-r--r--sys/i386/i386/tsc.c10
-rw-r--r--sys/i386/isa/clock.c10
-rw-r--r--sys/isa/atrtc.c10
5 files changed, 25 insertions, 25 deletions
diff --git a/sys/amd64/amd64/tsc.c b/sys/amd64/amd64/tsc.c
index a37022e..09ba1e5 100644
--- a/sys/amd64/amd64/tsc.c
+++ b/sys/amd64/amd64/tsc.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id$
+ * $Id: clock.c,v 1.76 1997/02/22 09:35:59 peter Exp $
*/
/*
@@ -514,7 +514,7 @@ calibrate_clocks(void)
u_int count, prev_count, tot_count;
int sec, start_sec, timeout;
- printf("Calibrating clock(s) relative to mc146818A clock ... ");
+ printf("Calibrating clock(s) relative to mc146818A clock.\n");
if (!(rtcin(RTC_STATUSD) & RTCSD_PWR))
goto fail;
timeout = 100000000;
@@ -587,15 +587,15 @@ calibrate_clocks(void)
*/
if (cpu_class == CPUCLASS_586 || cpu_class == CPUCLASS_686) {
set_i586_ctr_freq((u_int)rdtsc(), tot_count);
- printf("i586 clock: %u Hz, ", i586_ctr_freq);
+ printf(" i586 clock: %u Hz,\n", i586_ctr_freq);
}
#endif
- printf("i8254 clock: %u Hz\n", tot_count);
+ printf(" i8254 clock: %u Hz\n", tot_count);
return (tot_count);
fail:
- printf("failed, using default i8254 clock of %u Hz\n", timer_freq);
+ printf(" Failed, using default i8254 clock of %u Hz\n", timer_freq);
return (timer_freq);
}
diff --git a/sys/amd64/isa/clock.c b/sys/amd64/isa/clock.c
index a37022e..09ba1e5 100644
--- a/sys/amd64/isa/clock.c
+++ b/sys/amd64/isa/clock.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id$
+ * $Id: clock.c,v 1.76 1997/02/22 09:35:59 peter Exp $
*/
/*
@@ -514,7 +514,7 @@ calibrate_clocks(void)
u_int count, prev_count, tot_count;
int sec, start_sec, timeout;
- printf("Calibrating clock(s) relative to mc146818A clock ... ");
+ printf("Calibrating clock(s) relative to mc146818A clock.\n");
if (!(rtcin(RTC_STATUSD) & RTCSD_PWR))
goto fail;
timeout = 100000000;
@@ -587,15 +587,15 @@ calibrate_clocks(void)
*/
if (cpu_class == CPUCLASS_586 || cpu_class == CPUCLASS_686) {
set_i586_ctr_freq((u_int)rdtsc(), tot_count);
- printf("i586 clock: %u Hz, ", i586_ctr_freq);
+ printf(" i586 clock: %u Hz,\n", i586_ctr_freq);
}
#endif
- printf("i8254 clock: %u Hz\n", tot_count);
+ printf(" i8254 clock: %u Hz\n", tot_count);
return (tot_count);
fail:
- printf("failed, using default i8254 clock of %u Hz\n", timer_freq);
+ printf(" Failed, using default i8254 clock of %u Hz\n", timer_freq);
return (timer_freq);
}
diff --git a/sys/i386/i386/tsc.c b/sys/i386/i386/tsc.c
index a37022e..09ba1e5 100644
--- a/sys/i386/i386/tsc.c
+++ b/sys/i386/i386/tsc.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id$
+ * $Id: clock.c,v 1.76 1997/02/22 09:35:59 peter Exp $
*/
/*
@@ -514,7 +514,7 @@ calibrate_clocks(void)
u_int count, prev_count, tot_count;
int sec, start_sec, timeout;
- printf("Calibrating clock(s) relative to mc146818A clock ... ");
+ printf("Calibrating clock(s) relative to mc146818A clock.\n");
if (!(rtcin(RTC_STATUSD) & RTCSD_PWR))
goto fail;
timeout = 100000000;
@@ -587,15 +587,15 @@ calibrate_clocks(void)
*/
if (cpu_class == CPUCLASS_586 || cpu_class == CPUCLASS_686) {
set_i586_ctr_freq((u_int)rdtsc(), tot_count);
- printf("i586 clock: %u Hz, ", i586_ctr_freq);
+ printf(" i586 clock: %u Hz,\n", i586_ctr_freq);
}
#endif
- printf("i8254 clock: %u Hz\n", tot_count);
+ printf(" i8254 clock: %u Hz\n", tot_count);
return (tot_count);
fail:
- printf("failed, using default i8254 clock of %u Hz\n", timer_freq);
+ printf(" Failed, using default i8254 clock of %u Hz\n", timer_freq);
return (timer_freq);
}
diff --git a/sys/i386/isa/clock.c b/sys/i386/isa/clock.c
index a37022e..09ba1e5 100644
--- a/sys/i386/isa/clock.c
+++ b/sys/i386/isa/clock.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id$
+ * $Id: clock.c,v 1.76 1997/02/22 09:35:59 peter Exp $
*/
/*
@@ -514,7 +514,7 @@ calibrate_clocks(void)
u_int count, prev_count, tot_count;
int sec, start_sec, timeout;
- printf("Calibrating clock(s) relative to mc146818A clock ... ");
+ printf("Calibrating clock(s) relative to mc146818A clock.\n");
if (!(rtcin(RTC_STATUSD) & RTCSD_PWR))
goto fail;
timeout = 100000000;
@@ -587,15 +587,15 @@ calibrate_clocks(void)
*/
if (cpu_class == CPUCLASS_586 || cpu_class == CPUCLASS_686) {
set_i586_ctr_freq((u_int)rdtsc(), tot_count);
- printf("i586 clock: %u Hz, ", i586_ctr_freq);
+ printf(" i586 clock: %u Hz,\n", i586_ctr_freq);
}
#endif
- printf("i8254 clock: %u Hz\n", tot_count);
+ printf(" i8254 clock: %u Hz\n", tot_count);
return (tot_count);
fail:
- printf("failed, using default i8254 clock of %u Hz\n", timer_freq);
+ printf(" Failed, using default i8254 clock of %u Hz\n", timer_freq);
return (timer_freq);
}
diff --git a/sys/isa/atrtc.c b/sys/isa/atrtc.c
index a37022e..09ba1e5 100644
--- a/sys/isa/atrtc.c
+++ b/sys/isa/atrtc.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)clock.c 7.2 (Berkeley) 5/12/91
- * $Id$
+ * $Id: clock.c,v 1.76 1997/02/22 09:35:59 peter Exp $
*/
/*
@@ -514,7 +514,7 @@ calibrate_clocks(void)
u_int count, prev_count, tot_count;
int sec, start_sec, timeout;
- printf("Calibrating clock(s) relative to mc146818A clock ... ");
+ printf("Calibrating clock(s) relative to mc146818A clock.\n");
if (!(rtcin(RTC_STATUSD) & RTCSD_PWR))
goto fail;
timeout = 100000000;
@@ -587,15 +587,15 @@ calibrate_clocks(void)
*/
if (cpu_class == CPUCLASS_586 || cpu_class == CPUCLASS_686) {
set_i586_ctr_freq((u_int)rdtsc(), tot_count);
- printf("i586 clock: %u Hz, ", i586_ctr_freq);
+ printf(" i586 clock: %u Hz,\n", i586_ctr_freq);
}
#endif
- printf("i8254 clock: %u Hz\n", tot_count);
+ printf(" i8254 clock: %u Hz\n", tot_count);
return (tot_count);
fail:
- printf("failed, using default i8254 clock of %u Hz\n", timer_freq);
+ printf(" Failed, using default i8254 clock of %u Hz\n", timer_freq);
return (timer_freq);
}
OpenPOWER on IntegriCloud