Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/allwinner get rid of extra newline at startup



details:   https://anonhg.NetBSD.org/src/rev/565fb3b819d0
branches:  trunk
changeset: 805188:565fb3b819d0
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Tue Dec 23 13:34:40 2014 +0000

description:
get rid of extra newline at startup

diffstat:

 sys/arch/arm/allwinner/awin_io.c |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (25 lines):

diff -r 4c2be6dff96e -r 565fb3b819d0 sys/arch/arm/allwinner/awin_io.c
--- a/sys/arch/arm/allwinner/awin_io.c  Tue Dec 23 13:23:47 2014 +0000
+++ b/sys/arch/arm/allwinner/awin_io.c  Tue Dec 23 13:34:40 2014 +0000
@@ -31,7 +31,7 @@
 
 #include <sys/cdefs.h>
 
-__KERNEL_RCSID(1, "$NetBSD: awin_io.c,v 1.41 2014/12/22 00:07:24 jmcneill Exp $");
+__KERNEL_RCSID(1, "$NetBSD: awin_io.c,v 1.42 2014/12/23 13:34:40 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -243,11 +243,7 @@
        }
 
        aprint_naive("\n");
-       aprint_normal(": %s", chip_name);
-       if ((chip_id & 0xff00) != 0xff00) {
-               aprint_normal(" (0x%04x)\n", chip_id);
-       }
-       aprint_normal("\n");
+       aprint_normal(": %s (0x%04x)\n", chip_name, chip_id);
 
        const struct awin_locators * const eloc =
            awin_locators + __arraycount(awin_locators);



Home | Main Index | Thread Index | Old Index