Source-Changes-HG archive

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

[src/trunk]: src/sys No 0x in front of %p...



details:   https://anonhg.NetBSD.org/src/rev/84c9911f6ca3
branches:  trunk
changeset: 581053:84c9911f6ca3
user:      christos <christos%NetBSD.org@localhost>
date:      Sun May 22 15:54:45 2005 +0000

description:
No 0x in front of %p...

diffstat:

 sys/arch/alpha/alpha/pmap.c              |   6 +++---
 sys/arch/amiga/dev/aucc.c                |   8 ++++----
 sys/arch/amiga/dev/sbic.c                |   8 ++++----
 sys/arch/arm/footbridge/footbridge_pci.c |   6 +++---
 sys/arch/evbarm/ifpga/ifpga_pci.c        |   6 +++---
 sys/arch/mac68k/dev/if_sn.c              |   6 +++---
 sys/arch/mac68k/mac68k/macrom.c          |   8 ++++----
 sys/arch/newsmips/apbus/if_sn.c          |   6 +++---
 sys/arch/newsmips/dev/scsi_1185.c        |   6 +++---
 sys/arch/pc532/fpu/ieee_handler.c        |   6 +++---
 sys/arch/pmax/dev/cfb.c                  |   6 +++---
 sys/arch/pmax/dev/mfb.c                  |   6 +++---
 sys/arch/shark/shark/opms.c              |   6 +++---
 sys/dev/ccd.c                            |   6 +++---
 sys/dev/hpc/hpcfb.c                      |  12 ++++++------
 sys/dev/ic/am7930.c                      |   6 +++---
 sys/dev/ic/bha.c                         |   6 +++---
 sys/dev/ieee1394/fwohci.c                |   6 +++---
 sys/dev/isa/if_iy.c                      |   6 +++---
 sys/dev/pci/if_bge.c                     |   6 +++---
 sys/dev/tc/asc_tcds.c                    |   6 +++---
 sys/dev/vinum/vinummemory.c              |   4 ++--
 sys/kern/vfs_lockf.c                     |  10 +++++-----
 sys/netiso/xebec/llparse.c               |   6 +++---
 sys/netiso/xebec/llscan.c                |  12 ++++++------
 sys/netiso/xebec/main.c                  |   6 +++---
 sys/netiso/xebec/malloc.c                |  14 +++++++-------
 sys/netiso/xebec/procs.c                 |  20 ++++++++++----------
 sys/netiso/xebec/sets.c                  |  26 +++++++++++++-------------
 29 files changed, 118 insertions(+), 118 deletions(-)

diffs (truncated from 1054 to 300 lines):

diff -r 7f8f2744b742 -r 84c9911f6ca3 sys/arch/alpha/alpha/pmap.c
--- a/sys/arch/alpha/alpha/pmap.c       Sun May 22 15:29:33 2005 +0000
+++ b/sys/arch/alpha/alpha/pmap.c       Sun May 22 15:54:45 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.208 2004/12/25 06:35:30 yamt Exp $ */
+/* $NetBSD: pmap.c,v 1.209 2005/05/22 15:54:45 christos Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -145,7 +145,7 @@
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.208 2004/12/25 06:35:30 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.209 2005/05/22 15:54:45 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -2679,7 +2679,7 @@
 
 #ifdef DEBUG
        if (pmapdebug & PDB_BITS)
-               printf("pmap_changebit(0x%p, 0x%lx, 0x%lx)\n",
+               printf("pmap_changebit(%p, 0x%lx, 0x%lx)\n",
                    pg, set, mask);
 #endif
 
diff -r 7f8f2744b742 -r 84c9911f6ca3 sys/arch/amiga/dev/aucc.c
--- a/sys/arch/amiga/dev/aucc.c Sun May 22 15:29:33 2005 +0000
+++ b/sys/arch/amiga/dev/aucc.c Sun May 22 15:54:45 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: aucc.c,v 1.37 2005/01/15 15:19:51 kent Exp $ */
+/*     $NetBSD: aucc.c,v 1.38 2005/05/22 15:54:45 christos Exp $ */
 
 /*
  * Copyright (c) 1999 Bernardo Innocenti
@@ -53,7 +53,7 @@
 #if NAUCC > 0
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: aucc.c,v 1.37 2005/01/15 15:19:51 kent Exp $");
+__KERNEL_RCSID(0, "$NetBSD: aucc.c,v 1.38 2005/05/22 15:54:45 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -365,7 +365,7 @@
        aucc = sc;
        sc->sc_channelmask = 0xf;
 
-       DPRINTF(("saopen: ok -> sc=0x%p\n",sc));
+       DPRINTF(("saopen: ok -> sc=%p\n",sc));
 
        return 0;
 }
@@ -376,7 +376,7 @@
        struct aucc_softc *sc;
 
        sc = addr;
-       DPRINTF(("sa_close: sc=0x%p\n", sc));
+       DPRINTF(("sa_close: sc=%p\n", sc));
        /*
         * halt i/o, clear open flag, and done.
         */
diff -r 7f8f2744b742 -r 84c9911f6ca3 sys/arch/amiga/dev/sbic.c
--- a/sys/arch/amiga/dev/sbic.c Sun May 22 15:29:33 2005 +0000
+++ b/sys/arch/amiga/dev/sbic.c Sun May 22 15:54:45 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sbic.c,v 1.53 2003/08/07 16:26:43 agc Exp $ */
+/*     $NetBSD: sbic.c,v 1.54 2005/05/22 15:54:45 christos Exp $ */
 
 /*
  * Copyright (c) 1990 The Regents of the University of California.
@@ -78,7 +78,7 @@
 #include "opt_ddb.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sbic.c,v 1.53 2003/08/07 16:26:43 agc Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sbic.c,v 1.54 2005/05/22 15:54:45 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -682,7 +682,7 @@
                               xs->xs_periph->periph_target,
                               kvtop(dev->sc_tinfo[xs->xs_periph->periph_target].bounce));
                else if (dev->sc_tinfo[xs->xs_periph->periph_target].bounce)
-                       printf("alloc CHIP target %d bounce pa 0x%p\n",
+                       printf("alloc CHIP target %d bounce pa %p\n",
                               xs->xs_periph->periph_target,
                               PREP_DMA_MEM(dev->sc_tinfo[xs->xs_periph->periph_target].bounce));
                return(1);
@@ -1681,7 +1681,7 @@
                                               xs->xs_periph->periph_target,
                                               kvtop(dev->sc_tinfo[xs->xs_periph->periph_target].bounce));
                                else if (dev->sc_tinfo[xs->xs_periph->periph_target].bounce)
-                                       printf("alloc CHIP target %d bounce pa 0x%p\n",
+                                       printf("alloc CHIP target %d bounce pa %p\n",
                                               xs->xs_periph->periph_target,
                                               PREP_DMA_MEM(dev->sc_tinfo[xs->xs_periph->periph_target].bounce));
 
diff -r 7f8f2744b742 -r 84c9911f6ca3 sys/arch/arm/footbridge/footbridge_pci.c
--- a/sys/arch/arm/footbridge/footbridge_pci.c  Sun May 22 15:29:33 2005 +0000
+++ b/sys/arch/arm/footbridge/footbridge_pci.c  Sun May 22 15:54:45 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: footbridge_pci.c,v 1.10 2003/07/30 17:28:19 he Exp $   */
+/*     $NetBSD: footbridge_pci.c,v 1.11 2005/05/22 15:54:46 christos Exp $     */
 
 /*
  * Copyright (c) 1997,1998 Mark Brinicombe.
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: footbridge_pci.c,v 1.10 2003/07/30 17:28:19 he Exp $");
+__KERNEL_RCSID(0, "$NetBSD: footbridge_pci.c,v 1.11 2005/05/22 15:54:46 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -340,7 +340,7 @@
        static char irqstr[8];          /* 4 + 2 + NULL + sanity */
 
 #ifdef PCI_DEBUG
-       printf("footbridge_pci_intr_string(pcv=0x%p, ih=0x%lx)\n", pcv, ih);
+       printf("footbridge_pci_intr_string(pcv=%p, ih=0x%lx)\n", pcv, ih);
 #endif
        if (ih == 0)
                panic("footbridge_pci_intr_string: bogus handle 0x%lx", ih);
diff -r 7f8f2744b742 -r 84c9911f6ca3 sys/arch/evbarm/ifpga/ifpga_pci.c
--- a/sys/arch/evbarm/ifpga/ifpga_pci.c Sun May 22 15:29:33 2005 +0000
+++ b/sys/arch/evbarm/ifpga/ifpga_pci.c Sun May 22 15:54:45 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ifpga_pci.c,v 1.10 2004/08/07 11:13:09 rearnsha Exp $  */
+/*     $NetBSD: ifpga_pci.c,v 1.11 2005/05/22 15:54:46 christos Exp $  */
 
 /*
  * Copyright (c) 2001 ARM Ltd
@@ -64,7 +64,7 @@
 #define _ARM32_BUS_DMA_PRIVATE
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ifpga_pci.c,v 1.10 2004/08/07 11:13:09 rearnsha Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ifpga_pci.c,v 1.11 2005/05/22 15:54:46 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -326,7 +326,7 @@
        static char irqstr[12];         /* 6 + 1 + NULL + sanity */
 
 #ifdef PCI_DEBUG
-       printf("ifpga_pci_intr_string(pcv=0x%p, ih=0x%lx)\n", pcv, ih);
+       printf("ifpga_pci_intr_string(pcv=%p, ih=0x%lx)\n", pcv, ih);
 #endif
        if (ih == 0)
                panic("ifpga_pci_intr_string: bogus handle 0x%lx", ih);
diff -r 7f8f2744b742 -r 84c9911f6ca3 sys/arch/mac68k/dev/if_sn.c
--- a/sys/arch/mac68k/dev/if_sn.c       Sun May 22 15:29:33 2005 +0000
+++ b/sys/arch/mac68k/dev/if_sn.c       Sun May 22 15:54:45 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_sn.c,v 1.36 2005/01/15 16:00:59 chs Exp $   */
+/*     $NetBSD: if_sn.c,v 1.37 2005/05/22 15:54:46 christos Exp $      */
 
 /*
  * National Semiconductor  DP8393X SONIC Driver
@@ -16,7 +16,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_sn.c,v 1.36 2005/01/15 16:00:59 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_sn.c,v 1.37 2005/05/22 15:54:46 christos Exp $");
 
 #include "opt_inet.h"
 
@@ -1082,7 +1082,7 @@
 
 #ifdef SNDEBUG
        {
-               printf("%s: rcvd 0x%p len=%d type=0x%x from %s",
+               printf("%s: rcvd %p len=%d type=0x%x from %s",
                    sc->sc_dev.dv_xname, et, len, htons(et->ether_type),
                    ether_sprintf(et->ether_shost));
                printf(" (to %s)\n", ether_sprintf(et->ether_dhost));
diff -r 7f8f2744b742 -r 84c9911f6ca3 sys/arch/mac68k/mac68k/macrom.c
--- a/sys/arch/mac68k/mac68k/macrom.c   Sun May 22 15:29:33 2005 +0000
+++ b/sys/arch/mac68k/mac68k/macrom.c   Sun May 22 15:54:45 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: macrom.c,v 1.55 2005/01/15 16:00:59 chs Exp $  */
+/*     $NetBSD: macrom.c,v 1.56 2005/05/22 15:54:46 christos Exp $     */
 
 /*-
  * Copyright (C) 1994  Bradley A. Grantham
@@ -46,7 +46,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: macrom.c,v 1.55 2005/01/15 16:00:59 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: macrom.c,v 1.56 2005/05/22 15:54:46 christos Exp $");
 
 #include "opt_adb.h"
 #include "opt_ddb.h"
@@ -851,7 +851,7 @@
                "       .word   0xa99d          \n"
                "       movl    %%sp@+,%0"
                        : "=g" (handle));
-               printf("Handle to first DRVR resource is 0x%p\n", handle);
+               printf("Handle to first DRVR resource is %p\n", handle);
                printf("DRVR: 0x%08lx -> 0x%08lx -> 0x%08lx\n",
                    (long)Get_Ind_Resource(0x44525652, 1),
                    (long)*Get_Ind_Resource(0x44525652, 1),
@@ -863,7 +863,7 @@
                "       .word   0xa99d          \n"
                "       movl    %%sp@+,%0"
                        : "=g" (handle));
-               printf("Handle to second DRVR resource is 0x%p\n", handle);
+               printf("Handle to second DRVR resource is %p\n", handle);
                printf("DRVR: 0x%08lx -> 0x%08lx -> 0x%08lx\n",
                    (long)Get_Ind_Resource(0x44525652, 2),
                    (long)*Get_Ind_Resource(0x44525652, 2),
diff -r 7f8f2744b742 -r 84c9911f6ca3 sys/arch/newsmips/apbus/if_sn.c
--- a/sys/arch/newsmips/apbus/if_sn.c   Sun May 22 15:29:33 2005 +0000
+++ b/sys/arch/newsmips/apbus/if_sn.c   Sun May 22 15:54:45 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_sn.c,v 1.16 2005/02/06 02:18:02 tsutsui Exp $       */
+/*     $NetBSD: if_sn.c,v 1.17 2005/05/22 15:54:46 christos Exp $      */
 
 /*
  * National Semiconductor  DP8393X SONIC Driver
@@ -16,7 +16,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_sn.c,v 1.16 2005/02/06 02:18:02 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_sn.c,v 1.17 2005/05/22 15:54:46 christos Exp $");
 
 #include "opt_inet.h"
 
@@ -1063,7 +1063,7 @@
 
 #ifdef SNDEBUG
        {
-               printf("%s: rcvd 0x%p len=%d type=0x%x from %s",
+               printf("%s: rcvd %p len=%d type=0x%x from %s",
                    sc->sc_dev.dv_xname, et, len, htons(et->ether_type),
                    ether_sprintf(et->ether_shost));
                printf(" (to %s)\n", ether_sprintf(et->ether_dhost));
diff -r 7f8f2744b742 -r 84c9911f6ca3 sys/arch/newsmips/dev/scsi_1185.c
--- a/sys/arch/newsmips/dev/scsi_1185.c Sun May 22 15:29:33 2005 +0000
+++ b/sys/arch/newsmips/dev/scsi_1185.c Sun May 22 15:54:45 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: scsi_1185.c,v 1.15 2005/02/06 02:18:02 tsutsui Exp $   */
+/*     $NetBSD: scsi_1185.c,v 1.16 2005/05/22 15:54:46 christos Exp $  */
 
 /*
  * Copyright (c) 1992, 1993
@@ -53,7 +53,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: scsi_1185.c,v 1.15 2005/02/06 02:18:02 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: scsi_1185.c,v 1.16 2005/05/22 15:54:46 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -272,7 +272,7 @@
        p = (u_char *)xs->cmd;
        if (cs->scb != NULL) {
                printf("SCSI%d: sc_send() NOT NULL cs->sc\n", chan);
-               printf("ie=0x%x scb=0x%p cs->sc=0x%p\n", ie, scb, cs->scb);
+               printf("ie=0x%x scb=%p cs->sc=%p\n", ie, scb, cs->scb);
                printf("cdb=");
                for (i = 0; i < 6; i++)
                        printf(" 0x%x", *p++);
diff -r 7f8f2744b742 -r 84c9911f6ca3 sys/arch/pc532/fpu/ieee_handler.c
--- a/sys/arch/pc532/fpu/ieee_handler.c Sun May 22 15:29:33 2005 +0000
+++ b/sys/arch/pc532/fpu/ieee_handler.c Sun May 22 15:54:45 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ieee_handler.c,v 1.17 2004/01/23 04:12:39 simonb Exp $ */
+/*     $NetBSD: ieee_handler.c,v 1.18 2005/05/22 15:54:46 christos Exp $       */
 
 /*
  * IEEE floating point support for NS32081 and NS32381 fpus.
@@ -52,7 +52,7 @@
  * */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ieee_handler.c,v 1.17 2004/01/23 04:12:39 simonb Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ieee_handler.c,v 1.18 2005/05/22 15:54:46 christos Exp $");
 
 #include <sys/types.h>
 #include "ieee_internal.h"
@@ -392,7 +392,7 @@
   int n_min = addr - copyin_buffer.max + 1;
   n = MIN(n_max, MAX(n_min, MIN(FETCH_CHUNK, n_page)));
   COPYIN(u_addr, k_addr, n);
-  DP(2, "fetch_data: addr = 0x%p, from 0x%lx, to 0x%lx, n = %d\n", addr,
+  DP(2, "fetch_data: addr = %p, from 0x%lx, to 0x%lx, n = %d\n", addr,
      (long)u_addr, (long)k_addr, n);
   copyin_buffer.max += n;
   return 1;
diff -r 7f8f2744b742 -r 84c9911f6ca3 sys/arch/pmax/dev/cfb.c
--- a/sys/arch/pmax/dev/cfb.c   Sun May 22 15:29:33 2005 +0000
+++ b/sys/arch/pmax/dev/cfb.c   Sun May 22 15:54:45 2005 +0000



Home | Main Index | Thread Index | Old Index