Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch Use aprint_normal() for cfprint routines.
details: https://anonhg.NetBSD.org/src/rev/e36d70f517d7
branches: trunk
changeset: 541064:e36d70f517d7
user: thorpej <thorpej%NetBSD.org@localhost>
date: Wed Jan 01 00:46:13 2003 +0000
description:
Use aprint_normal() for cfprint routines.
diffstat:
sys/arch/arm/footbridge/footbridge.c | 6 +++---
sys/arch/arm/iomd/iic.c | 4 ++--
sys/arch/arm/ixp12x0/ixp12x0.c | 6 +++---
sys/arch/arm/ixp12x0/ixpsip.c | 8 ++++----
sys/arch/arm/mainbus/mainbus.c | 10 +++++-----
sys/arch/arm/s3c2xx0/s3c2800.c | 10 +++++-----
sys/arch/arm/s3c2xx0/s3c2800_pci.c | 6 +++---
sys/arch/arm/sa11x0/sa11x0.c | 14 +++++++-------
sys/arch/arm/xscale/i80312.c | 6 +++---
sys/arch/arm/xscale/pxa2x0.c | 10 +++++-----
sys/arch/atari/atari/autoconf.c | 4 ++--
sys/arch/atari/dev/fd.c | 4 ++--
sys/arch/atari/dev/hdfd.c | 4 ++--
sys/arch/atari/dev/ite_cc.c | 4 ++--
sys/arch/atari/dev/ite_et.c | 4 ++--
sys/arch/atari/vme/vme.c | 12 ++++++------
16 files changed, 56 insertions(+), 56 deletions(-)
diffs (truncated from 359 to 300 lines):
diff -r fe95c908f4ca -r e36d70f517d7 sys/arch/arm/footbridge/footbridge.c
--- a/sys/arch/arm/footbridge/footbridge.c Wed Jan 01 00:45:00 2003 +0000
+++ b/sys/arch/arm/footbridge/footbridge.c Wed Jan 01 00:46:13 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: footbridge.c,v 1.11 2002/11/03 21:43:30 chris Exp $ */
+/* $NetBSD: footbridge.c,v 1.12 2003/01/01 00:46:13 thorpej Exp $ */
/*
* Copyright (c) 1997,1998 Mark Brinicombe.
@@ -116,9 +116,9 @@
union footbridge_attach_args *fba = aux;
if (pnp)
- printf("%s at %s", fba->fba_name, pnp);
+ aprint_normal("%s at %s", fba->fba_name, pnp);
if (strcmp(fba->fba_name, "pci") == 0)
- printf(" bus %d", fba->fba_pba.pba_bus);
+ aprint_normal(" bus %d", fba->fba_pba.pba_bus);
return(UNCONF);
}
diff -r fe95c908f4ca -r e36d70f517d7 sys/arch/arm/iomd/iic.c
--- a/sys/arch/arm/iomd/iic.c Wed Jan 01 00:45:00 2003 +0000
+++ b/sys/arch/arm/iomd/iic.c Wed Jan 01 00:46:13 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: iic.c,v 1.6 2002/10/23 09:10:42 jdolecek Exp $ */
+/* $NetBSD: iic.c,v 1.7 2003/01/01 00:46:14 thorpej Exp $ */
/*
* Copyright (c) 1994-1996 Mark Brinicombe.
@@ -250,7 +250,7 @@
if (!name) {
if (iba->ib_addr)
- printf(" addr 0x%02x", iba->ib_addr);
+ aprint_normal(" addr 0x%02x", iba->ib_addr);
}
/* XXXX print flags */
diff -r fe95c908f4ca -r e36d70f517d7 sys/arch/arm/ixp12x0/ixp12x0.c
--- a/sys/arch/arm/ixp12x0/ixp12x0.c Wed Jan 01 00:45:00 2003 +0000
+++ b/sys/arch/arm/ixp12x0/ixp12x0.c Wed Jan 01 00:46:13 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixp12x0.c,v 1.4 2002/12/02 14:08:57 ichiro Exp $ */
+/* $NetBSD: ixp12x0.c,v 1.5 2003/01/01 00:46:15 thorpej Exp $ */
/*
* Copyright (c) 2002
* Ichiro FUKUHARA <ichiro%ichiro.org@localhost>.
@@ -176,9 +176,9 @@
struct pcibus_attach_args *pba = aux;
if (pnp)
- printf("%s at %s", pba->pba_busname, pnp);
+ aprint_normal("%s at %s", pba->pba_busname, pnp);
- printf(" bus %d", pba->pba_bus);
+ aprint_normal(" bus %d", pba->pba_bus);
return (UNCONF);
}
diff -r fe95c908f4ca -r e36d70f517d7 sys/arch/arm/ixp12x0/ixpsip.c
--- a/sys/arch/arm/ixp12x0/ixpsip.c Wed Jan 01 00:45:00 2003 +0000
+++ b/sys/arch/arm/ixp12x0/ixpsip.c Wed Jan 01 00:46:13 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ixpsip.c,v 1.4 2002/10/02 05:02:30 thorpej Exp $ */
+/* $NetBSD: ixpsip.c,v 1.5 2003/01/01 00:46:15 thorpej Exp $ */
/*
* Copyright (c) 2002
@@ -106,11 +106,11 @@
struct ixpsip_attach_args *sa = (struct ixpsip_attach_args*)aux;
if (sa->sa_size)
- printf(" addr 0x%lx", sa->sa_addr);
+ aprint_normal(" addr 0x%lx", sa->sa_addr);
if (sa->sa_size > 1)
- printf("-0x%lx", sa->sa_addr + sa->sa_size - 1);
+ aprint_normal("-0x%lx", sa->sa_addr + sa->sa_size - 1);
if (sa->sa_intr > 1)
- printf(" intr %d", sa->sa_intr);
+ aprint_normal(" intr %d", sa->sa_intr);
return (UNCONF);
}
diff -r fe95c908f4ca -r e36d70f517d7 sys/arch/arm/mainbus/mainbus.c
--- a/sys/arch/arm/mainbus/mainbus.c Wed Jan 01 00:45:00 2003 +0000
+++ b/sys/arch/arm/mainbus/mainbus.c Wed Jan 01 00:46:13 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mainbus.c,v 1.6 2002/10/02 05:02:31 thorpej Exp $ */
+/* $NetBSD: mainbus.c,v 1.7 2003/01/01 00:46:14 thorpej Exp $ */
/*
* Copyright (c) 1994,1995 Mark Brinicombe.
@@ -104,13 +104,13 @@
struct mainbus_attach_args *mb = aux;
if (mb->mb_iobase != MAINBUSCF_BASE_DEFAULT)
- printf(" base 0x%x", mb->mb_iobase);
+ aprint_normal(" base 0x%x", mb->mb_iobase);
if (mb->mb_iosize > 1)
- printf("-0x%x", mb->mb_iobase + mb->mb_iosize - 1);
+ aprint_normal("-0x%x", mb->mb_iobase + mb->mb_iosize - 1);
if (mb->mb_irq != -1)
- printf(" irq %d", mb->mb_irq);
+ aprint_normal(" irq %d", mb->mb_irq);
if (mb->mb_drq != -1)
- printf(" drq 0x%08x", mb->mb_drq);
+ aprint_normal(" drq 0x%08x", mb->mb_drq);
/* XXXX print flags */
return (QUIET);
diff -r fe95c908f4ca -r e36d70f517d7 sys/arch/arm/s3c2xx0/s3c2800.c
--- a/sys/arch/arm/s3c2xx0/s3c2800.c Wed Jan 01 00:45:00 2003 +0000
+++ b/sys/arch/arm/s3c2xx0/s3c2800.c Wed Jan 01 00:46:13 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: s3c2800.c,v 1.1 2002/11/20 17:52:49 bsh Exp $ */
+/* $NetBSD: s3c2800.c,v 1.2 2003/01/01 00:46:15 thorpej Exp $ */
/*
* Copyright (c) 2002 Fujitsu Component Limited
@@ -68,13 +68,13 @@
struct s3c2xx0_attach_args *sa = (struct s3c2xx0_attach_args *) aux;
if (sa->sa_size)
- printf(" addr 0x%lx", sa->sa_addr);
+ aprint_normal(" addr 0x%lx", sa->sa_addr);
if (sa->sa_size > 1)
- printf("-0x%lx", sa->sa_addr + sa->sa_size - 1);
+ aprint_normal("-0x%lx", sa->sa_addr + sa->sa_size - 1);
if (sa->sa_intr != SSIOCF_INTR_DEFAULT)
- printf(" intr %d", sa->sa_intr);
+ aprint_normal(" intr %d", sa->sa_intr);
if (sa->sa_index != SSIOCF_INDEX_DEFAULT)
- printf(" unit %d", sa->sa_index);
+ aprint_normal(" unit %d", sa->sa_index);
return (UNCONF);
}
diff -r fe95c908f4ca -r e36d70f517d7 sys/arch/arm/s3c2xx0/s3c2800_pci.c
--- a/sys/arch/arm/s3c2xx0/s3c2800_pci.c Wed Jan 01 00:45:00 2003 +0000
+++ b/sys/arch/arm/s3c2xx0/s3c2800_pci.c Wed Jan 01 00:46:13 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: s3c2800_pci.c,v 1.1 2002/11/20 17:52:50 bsh Exp $ */
+/* $NetBSD: s3c2800_pci.c,v 1.2 2003/01/01 00:46:15 thorpej Exp $ */
/*
* Copyright (c) 2002 Fujitsu Component Limited
@@ -224,9 +224,9 @@
struct pcibus_attach_args *pci_pba = (struct pcibus_attach_args *) aux;
if (pnp)
- printf("%s at %s", pci_pba->pba_busname, pnp);
+ aprint_normal("%s at %s", pci_pba->pba_busname, pnp);
if (strcmp(pci_pba->pba_busname, "pci") == 0)
- printf(" bus %d", pci_pba->pba_bus);
+ aprint_normal(" bus %d", pci_pba->pba_bus);
return UNCONF;
}
diff -r fe95c908f4ca -r e36d70f517d7 sys/arch/arm/sa11x0/sa11x0.c
--- a/sys/arch/arm/sa11x0/sa11x0.c Wed Jan 01 00:45:00 2003 +0000
+++ b/sys/arch/arm/sa11x0/sa11x0.c Wed Jan 01 00:46:13 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sa11x0.c,v 1.9 2002/10/02 05:02:31 thorpej Exp $ */
+/* $NetBSD: sa11x0.c,v 1.10 2003/01/01 00:46:15 thorpej Exp $ */
/*-
* Copyright (c) 2001, The NetBSD Foundation, Inc. All rights reserved.
@@ -107,17 +107,17 @@
struct sa11x0_attach_args *sa = (struct sa11x0_attach_args*)aux;
if (sa->sa_size)
- printf(" addr 0x%lx", sa->sa_addr);
+ aprint_normal(" addr 0x%lx", sa->sa_addr);
if (sa->sa_size > 1)
- printf("-0x%lx", sa->sa_addr + sa->sa_size - 1);
+ aprint_normal("-0x%lx", sa->sa_addr + sa->sa_size - 1);
if (sa->sa_memsize)
- printf(" membase 0x%lx", sa->sa_membase);
+ aprint_normal(" membase 0x%lx", sa->sa_membase);
if (sa->sa_memsize > 1)
- printf("-0x%lx", sa->sa_membase + sa->sa_memsize - 1);
+ aprint_normal("-0x%lx", sa->sa_membase + sa->sa_memsize - 1);
if (sa->sa_intr > 1)
- printf(" intr %d", sa->sa_intr);
+ aprint_normal(" intr %d", sa->sa_intr);
if (sa->sa_gpio != -1)
- printf(" gpio %d", sa->sa_gpio);
+ aprint_normal(" gpio %d", sa->sa_gpio);
return (UNCONF);
}
diff -r fe95c908f4ca -r e36d70f517d7 sys/arch/arm/xscale/i80312.c
--- a/sys/arch/arm/xscale/i80312.c Wed Jan 01 00:45:00 2003 +0000
+++ b/sys/arch/arm/xscale/i80312.c Wed Jan 01 00:46:13 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i80312.c,v 1.12 2002/09/27 15:35:50 provos Exp $ */
+/* $NetBSD: i80312.c,v 1.13 2003/01/01 00:46:15 thorpej Exp $ */
/*
* Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -299,9 +299,9 @@
struct pcibus_attach_args *pba = aux;
if (pnp)
- printf("%s at %s", pba->pba_busname, pnp);
+ aprint_normal("%s at %s", pba->pba_busname, pnp);
- printf(" bus %d", pba->pba_bus);
+ aprint_normal(" bus %d", pba->pba_bus);
return (UNCONF);
}
diff -r fe95c908f4ca -r e36d70f517d7 sys/arch/arm/xscale/pxa2x0.c
--- a/sys/arch/arm/xscale/pxa2x0.c Wed Jan 01 00:45:00 2003 +0000
+++ b/sys/arch/arm/xscale/pxa2x0.c Wed Jan 01 00:46:13 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pxa2x0.c,v 1.1 2002/10/19 19:31:38 bsh Exp $ */
+/* $NetBSD: pxa2x0.c,v 1.2 2003/01/01 00:46:15 thorpej Exp $ */
/*
* Copyright (c) 2002 Genetec Corporation. All rights reserved.
@@ -128,13 +128,13 @@
struct pxa2x0_attach_args *sa = (struct pxa2x0_attach_args*)aux;
if (sa->pxa_size)
- printf(" addr 0x%lx", sa->pxa_addr);
+ aprint_normal(" addr 0x%lx", sa->pxa_addr);
if (sa->pxa_size > 1)
- printf("-0x%lx", sa->pxa_addr + sa->pxa_size - 1);
+ aprint_normal("-0x%lx", sa->pxa_addr + sa->pxa_size - 1);
if (sa->pxa_intr > 1)
- printf(" intr %d", sa->pxa_intr);
+ aprint_normal(" intr %d", sa->pxa_intr);
if (sa->pxa_gpio != -1)
- printf(" gpio %d", sa->pxa_gpio);
+ aprint_normal(" gpio %d", sa->pxa_gpio);
return (UNCONF);
}
diff -r fe95c908f4ca -r e36d70f517d7 sys/arch/atari/atari/autoconf.c
--- a/sys/arch/atari/atari/autoconf.c Wed Jan 01 00:45:00 2003 +0000
+++ b/sys/arch/atari/atari/autoconf.c Wed Jan 01 00:46:13 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: autoconf.c,v 1.42 2002/12/08 21:31:35 leo Exp $ */
+/* $NetBSD: autoconf.c,v 1.43 2003/01/01 00:48:33 thorpej Exp $ */
/*
* Copyright (c) 1995 Leo Weppelman
@@ -300,6 +300,6 @@
const char *pnp;
{
if (pnp)
- printf("%s at %s", (char *)auxp, pnp);
+ aprint_normal("%s at %s", (char *)auxp, pnp);
return(UNCONF);
}
diff -r fe95c908f4ca -r e36d70f517d7 sys/arch/atari/dev/fd.c
--- a/sys/arch/atari/dev/fd.c Wed Jan 01 00:45:00 2003 +0000
+++ b/sys/arch/atari/dev/fd.c Wed Jan 01 00:46:13 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fd.c,v 1.44 2002/11/01 11:31:52 mrg Exp $ */
+/* $NetBSD: fd.c,v 1.45 2003/01/01 00:48:33 thorpej Exp $ */
/*
* Copyright (c) 1995 Leo Weppelman.
@@ -350,7 +350,7 @@
const char *pnp;
{
if (pnp != NULL)
- printf("fd%d at %s:", (int)auxp, pnp);
+ aprint_normal("fd%d at %s:", (int)auxp, pnp);
return(UNCONF);
}
diff -r fe95c908f4ca -r e36d70f517d7 sys/arch/atari/dev/hdfd.c
--- a/sys/arch/atari/dev/hdfd.c Wed Jan 01 00:45:00 2003 +0000
+++ b/sys/arch/atari/dev/hdfd.c Wed Jan 01 00:46:13 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hdfd.c,v 1.35 2002/11/01 11:31:52 mrg Exp $ */
+/* $NetBSD: hdfd.c,v 1.36 2003/01/01 00:48:33 thorpej Exp $ */
/*-
* Copyright (c) 1996 Leo Weppelman
@@ -361,7 +361,7 @@
register struct fdc_attach_args *fa = aux;
if (!fdc)
- printf(" drive %d", fa->fa_drive);
+ aprint_normal(" drive %d", fa->fa_drive);
return QUIET;
}
diff -r fe95c908f4ca -r e36d70f517d7 sys/arch/atari/dev/ite_cc.c
--- a/sys/arch/atari/dev/ite_cc.c Wed Jan 01 00:45:00 2003 +0000
+++ b/sys/arch/atari/dev/ite_cc.c Wed Jan 01 00:46:13 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ite_cc.c,v 1.20 2002/10/02 05:04:25 thorpej Exp $ */
+/* $NetBSD: ite_cc.c,v 1.21 2003/01/01 00:48:34 thorpej Exp $ */
Home |
Main Index |
Thread Index |
Old Index