Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hpcarm Fix autoconf related botch: do printf("\n") ...



details:   https://anonhg.NetBSD.org/src/rev/776c794fec6c
branches:  trunk
changeset: 511901:776c794fec6c
user:      toshii <toshii%NetBSD.org@localhost>
date:      Fri Jun 29 17:22:50 2001 +0000

description:
Fix autoconf related botch: do printf("\n") in attach funcs rather than
in cfprint.

diffstat:

 sys/arch/hpcarm/dev/j720ssp.c        |  4 +++-
 sys/arch/hpcarm/dev/sed_saip.c       |  4 +++-
 sys/arch/hpcarm/sa11x0/sa1111.c      |  4 +++-
 sys/arch/hpcarm/sa11x0/sa11x0.c      |  5 ++---
 sys/arch/hpcarm/sa11x0/sa11x0_com.c  |  4 +++-
 sys/arch/hpcarm/sa11x0/sa11x0_lcd.c  |  4 +++-
 sys/arch/hpcarm/sa11x0/sa11x0_ost.c  |  4 +++-
 sys/arch/hpcarm/sa11x0/sa11x1_pcic.c |  4 +++-
 8 files changed, 23 insertions(+), 10 deletions(-)

diffs (146 lines):

diff -r 567fa05df78c -r 776c794fec6c sys/arch/hpcarm/dev/j720ssp.c
--- a/sys/arch/hpcarm/dev/j720ssp.c     Fri Jun 29 16:58:55 2001 +0000
+++ b/sys/arch/hpcarm/dev/j720ssp.c     Fri Jun 29 17:22:50 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: j720ssp.c,v 1.1 2001/06/23 09:20:05 toshii Exp $ */
+/* $NetBSD: j720ssp.c,v 1.2 2001/06/29 17:22:50 toshii Exp $ */
 
 /*-
  * Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@@ -184,6 +184,8 @@
        struct sa11x0_attach_args *sa = aux;
        struct wskbddev_attach_args a;
 
+       printf("\n");
+
        sc->sc_iot = psc->sc_iot;
        sc->sc_gpioh = psc->sc_gpioh;
        if (bus_space_map(sc->sc_iot, sa->sa_addr, sa->sa_size, 0,
diff -r 567fa05df78c -r 776c794fec6c sys/arch/hpcarm/dev/sed_saip.c
--- a/sys/arch/hpcarm/dev/sed_saip.c    Fri Jun 29 16:58:55 2001 +0000
+++ b/sys/arch/hpcarm/dev/sed_saip.c    Fri Jun 29 17:22:50 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sed_saip.c,v 1.4 2001/06/23 09:13:06 toshii Exp $      */
+/*     $NetBSD: sed_saip.c,v 1.5 2001/06/29 17:22:50 toshii Exp $      */
 
 /*-
  * Copyright (c) 1999-2001
@@ -120,6 +120,8 @@
        struct sed1356_softc *sc = (struct sed1356_softc *)self;
        struct hpcfb_attach_args ha;
 
+       printf("\n");
+
        if (attach_flag) {
                panic("%s(%d): sed1356 attached twice", __FILE__, __LINE__);
        }
diff -r 567fa05df78c -r 776c794fec6c sys/arch/hpcarm/sa11x0/sa1111.c
--- a/sys/arch/hpcarm/sa11x0/sa1111.c   Fri Jun 29 16:58:55 2001 +0000
+++ b/sys/arch/hpcarm/sa11x0/sa1111.c   Fri Jun 29 17:22:50 2001 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: sa1111.c,v 1.8 2001/06/29 16:58:17 toshii Exp $       */
+/*      $NetBSD: sa1111.c,v 1.9 2001/06/29 17:22:51 toshii Exp $       */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -121,6 +121,8 @@
        struct sa11x0_attach_args *sa = aux;
        struct platid_data *p;
 
+       printf("\n");
+
        sc->sc_iot = sa->sa_iot;
        sc->sc_piot = psc->sc_iot;
        sc->sc_gpioh = psc->sc_gpioh;
diff -r 567fa05df78c -r 776c794fec6c sys/arch/hpcarm/sa11x0/sa11x0.c
--- a/sys/arch/hpcarm/sa11x0/sa11x0.c   Fri Jun 29 16:58:55 2001 +0000
+++ b/sys/arch/hpcarm/sa11x0/sa11x0.c   Fri Jun 29 17:22:50 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sa11x0.c,v 1.12 2001/06/29 16:58:55 toshii Exp $       */
+/*     $NetBSD: sa11x0.c,v 1.13 2001/06/29 17:22:51 toshii Exp $       */
 
 /*-
  * Copyright (c) 2001, The NetBSD Foundation, Inc.  All rights reserved.
@@ -115,9 +115,8 @@
                printf("-0x%lx", sa->sa_membase + sa->sa_memsize - 1);
         if (sa->sa_intr > 1)
                 printf(" intr %d", sa->sa_intr);
-       printf("\n");
+
         return (UNCONF);
-
 }
 
 int
diff -r 567fa05df78c -r 776c794fec6c sys/arch/hpcarm/sa11x0/sa11x0_com.c
--- a/sys/arch/hpcarm/sa11x0/sa11x0_com.c       Fri Jun 29 16:58:55 2001 +0000
+++ b/sys/arch/hpcarm/sa11x0/sa11x0_com.c       Fri Jun 29 17:22:50 2001 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: sa11x0_com.c,v 1.10 2001/05/30 15:24:30 lukem Exp $        */
+/*      $NetBSD: sa11x0_com.c,v 1.11 2001/06/29 17:22:51 toshii Exp $        */
 
 /*-
  * Copyright (c) 1998, 1999, 2001 The NetBSD Foundation, Inc.
@@ -216,6 +216,8 @@
        struct sacom_softc *sc = (struct sacom_softc*)self;
        struct sa11x0_attach_args *sa = aux;
 
+       printf("\n");
+
        sc->sc_iot = sa->sa_iot;
        sc->sc_baseaddr = sa->sa_addr;
 
diff -r 567fa05df78c -r 776c794fec6c sys/arch/hpcarm/sa11x0/sa11x0_lcd.c
--- a/sys/arch/hpcarm/sa11x0/sa11x0_lcd.c       Fri Jun 29 16:58:55 2001 +0000
+++ b/sys/arch/hpcarm/sa11x0/sa11x0_lcd.c       Fri Jun 29 17:22:50 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sa11x0_lcd.c,v 1.3 2001/05/01 12:36:55 toshii Exp $    */
+/*     $NetBSD: sa11x0_lcd.c,v 1.4 2001/06/29 17:22:51 toshii Exp $    */
 #define SALCD_DEBUG
 /*
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -100,6 +100,8 @@
        struct sa11x0_attach_args *sa = aux;
        struct hpcfb_attach_args ha;
 
+       printf("\n");
+
        sc->sc_iot = sa->sa_iot;
        sc->sc_baseaddr = sa->sa_addr;
 
diff -r 567fa05df78c -r 776c794fec6c sys/arch/hpcarm/sa11x0/sa11x0_ost.c
--- a/sys/arch/hpcarm/sa11x0/sa11x0_ost.c       Fri Jun 29 16:58:55 2001 +0000
+++ b/sys/arch/hpcarm/sa11x0/sa11x0_ost.c       Fri Jun 29 17:22:50 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sa11x0_ost.c,v 1.7 2001/05/01 12:36:55 toshii Exp $    */
+/*     $NetBSD: sa11x0_ost.c,v 1.8 2001/06/29 17:22:51 toshii Exp $    */
 
 /*
  * Copyright (c) 1997 Mark Brinicombe.
@@ -102,6 +102,8 @@
        struct saost_softc *sc = (struct saost_softc*)self;
        struct sa11x0_attach_args *sa = aux;
 
+       printf("\n");
+
        sc->sc_iot = sa->sa_iot;
        sc->sc_baseaddr = sa->sa_addr;
 
diff -r 567fa05df78c -r 776c794fec6c sys/arch/hpcarm/sa11x0/sa11x1_pcic.c
--- a/sys/arch/hpcarm/sa11x0/sa11x1_pcic.c      Fri Jun 29 16:58:55 2001 +0000
+++ b/sys/arch/hpcarm/sa11x0/sa11x1_pcic.c      Fri Jun 29 17:22:50 2001 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: sa11x1_pcic.c,v 1.4 2001/03/27 18:06:39 toshii Exp $        */
+/*      $NetBSD: sa11x1_pcic.c,v 1.5 2001/06/29 17:22:52 toshii Exp $        */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -111,6 +111,8 @@
        struct sacpcic_softc *sc = (struct sacpcic_softc *)self;
        struct sacc_softc *psc = (struct sacc_softc *)parent;
 
+       printf("\n");
+
        sc->sc_pc.sc_iot = psc->sc_iot;
        sc->sc_ioh = psc->sc_ioh;
 



Home | Main Index | Thread Index | Old Index