Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/cobalt/dev Adjust attach message for failure path (...



details:   https://anonhg.NetBSD.org/src/rev/4683ad740a10
branches:  trunk
changeset: 746807:4683ad740a10
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Thu Aug 20 11:43:59 2009 +0000

description:
Adjust attach message for failure path (found on gxemul).

diffstat:

 sys/arch/cobalt/dev/panel.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 9aa3138b3ea1 -r 4683ad740a10 sys/arch/cobalt/dev/panel.c
--- a/sys/arch/cobalt/dev/panel.c       Thu Aug 20 11:18:55 2009 +0000
+++ b/sys/arch/cobalt/dev/panel.c       Thu Aug 20 11:43:59 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: panel.c,v 1.18 2008/05/09 10:59:55 tsutsui Exp $ */
+/* $NetBSD: panel.c,v 1.19 2009/08/20 11:43:59 tsutsui Exp $ */
 
 /*
  * Copyright (c) 2002 Dennis I. Chernoivanov
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: panel.c,v 1.18 2008/05/09 10:59:55 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: panel.c,v 1.19 2009/08/20 11:43:59 tsutsui Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -139,6 +139,8 @@
        bus_space_subregion(sc->sc_lcd.sc_iot, sc->sc_lcd.sc_ioir, DATA_OFFSET,
            1, &sc->sc_lcd.sc_iodr);
 
+       printf("\n");
+
        sc->sc_lcd.sc_dev_ok = 1;
        sc->sc_lcd.sc_cols = PANEL_COLS;
        sc->sc_lcd.sc_vcols = PANEL_VCOLS;
@@ -169,8 +171,6 @@
 
        callout_init(&sc->sc_callout, 0);
        selinit(&sc->sc_selq);
-
-       printf("\n");
 }
 
 static void



Home | Main Index | Thread Index | Old Index