Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/ibm4xx/dev Use aprint_normal include sys/...



details:   https://anonhg.NetBSD.org/src/rev/ac5243c6361a
branches:  trunk
changeset: 766182:ac5243c6361a
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Jun 18 02:02:50 2011 +0000

description:
Use aprint_normal   include sys/cpu.h

diffstat:

 sys/arch/powerpc/ibm4xx/dev/wdog.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r c2dd5f9fe373 -r ac5243c6361a sys/arch/powerpc/ibm4xx/dev/wdog.c
--- a/sys/arch/powerpc/ibm4xx/dev/wdog.c        Sat Jun 18 01:22:34 2011 +0000
+++ b/sys/arch/powerpc/ibm4xx/dev/wdog.c        Sat Jun 18 02:02:50 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wdog.c,v 1.11 2011/06/17 19:03:02 matt Exp $ */
+/* $NetBSD: wdog.c,v 1.12 2011/06/18 02:02:50 matt Exp $ */
 
 /*
  * Copyright (c) 2002 Wasabi Systems, Inc.
@@ -40,17 +40,19 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wdog.c,v 1.11 2011/06/17 19:03:02 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wdog.c,v 1.12 2011/06/18 02:02:50 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/device.h>
+#include <sys/cpu.h>
 #include <sys/wdog.h>
 
 #include <prop/proplib.h>
 
 #include <powerpc/spr.h>
 #include <powerpc/ibm4xx/spr.h>
+#include <powerpc/ibm4xx/cpu.h>
 #include <powerpc/ibm4xx/dev/opbvar.h>
 
 #include <dev/sysmon/sysmonvar.h>
@@ -94,7 +96,7 @@
        processor_freq = (unsigned int) prop_number_integer_value(freq);
 
        sc->sc_wdog_period = (2LL << 29) / processor_freq;
-       printf(": %d second period\n", sc->sc_wdog_period);
+       aprint_normal(": %d second period\n", sc->sc_wdog_period);
 
        sc->sc_dev = self;
        sc->sc_smw.smw_name = device_xname(self);



Home | Main Index | Thread Index | Old Index