Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/acorn32 _int*_t -> uint*_t



details:   https://anonhg.NetBSD.org/src/rev/ad37ba1bffec
branches:  trunk
changeset: 779204:ad37ba1bffec
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu May 10 10:27:09 2012 +0000

description:
_int*_t -> uint*_t

Same code before and after.

diffstat:

 sys/arch/acorn32/acorn32/rpc_machdep.c         |   6 +-
 sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c |   6 +-
 sys/arch/acorn32/eb7500atx/if_cs.c             |   8 ++--
 sys/arch/acorn32/eb7500atx/rsbus_io.c          |  16 ++++----
 sys/arch/acorn32/include/podulebus_machdep.h   |   4 +-
 sys/arch/acorn32/podulebus/if_ie.c             |   6 +-
 sys/arch/acorn32/podulebus/if_ne_pbus.c        |  18 +++++-----
 sys/arch/acorn32/podulebus/netslot.c           |   6 +-
 sys/arch/acorn32/podulebus/podulebus_io.c      |  16 ++++----
 sys/arch/acorn32/stand/boot32/boot32.c         |   4 +-
 sys/arch/acorn32/stand/lib/riscoscalls.h       |  42 +++++++++++++-------------
 11 files changed, 66 insertions(+), 66 deletions(-)

diffs (truncated from 451 to 300 lines):

diff -r fa6e97e623bb -r ad37ba1bffec sys/arch/acorn32/acorn32/rpc_machdep.c
--- a/sys/arch/acorn32/acorn32/rpc_machdep.c    Thu May 10 09:56:27 2012 +0000
+++ b/sys/arch/acorn32/acorn32/rpc_machdep.c    Thu May 10 10:27:09 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rpc_machdep.c,v 1.82 2011/07/19 15:59:52 dyoung Exp $  */
+/*     $NetBSD: rpc_machdep.c,v 1.83 2012/05/10 10:27:09 skrll Exp $   */
 
 /*
  * Copyright (c) 2000-2002 Reinoud Zandijk.
@@ -55,7 +55,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: rpc_machdep.c,v 1.82 2011/07/19 15:59:52 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rpc_machdep.c,v 1.83 2012/05/10 10:27:09 skrll Exp $");
 
 #include <sys/systm.h>
 #include <sys/kernel.h>
@@ -134,7 +134,7 @@
 extern char *booted_kernel;    /* used for ioctl to retrieve booted kernel */
 
 extern int       *vidc_base;
-extern u_int32_t  iomd_base;
+extern uint32_t  iomd_base;
 extern struct bus_space iomd_bs_tag;
 
 paddr_t physical_start;
diff -r fa6e97e623bb -r ad37ba1bffec sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c
--- a/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c    Thu May 10 09:56:27 2012 +0000
+++ b/sys/arch/acorn32/eb7500atx/eb7500atx_machdep.c    Thu May 10 10:27:09 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: eb7500atx_machdep.c,v 1.21 2011/07/19 15:59:52 dyoung Exp $    */
+/*     $NetBSD: eb7500atx_machdep.c,v 1.22 2012/05/10 10:27:09 skrll Exp $     */
 
 /*
  * Copyright (c) 2000-2002 Reinoud Zandijk.
@@ -55,7 +55,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: eb7500atx_machdep.c,v 1.21 2011/07/19 15:59:52 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: eb7500atx_machdep.c,v 1.22 2012/05/10 10:27:09 skrll Exp $");
 
 #include <sys/systm.h>
 #include <sys/kernel.h>
@@ -137,7 +137,7 @@
 extern char *booted_kernel;    /* used for ioctl to retrieve booted kernel */
 
 extern int       *vidc_base;
-extern u_int32_t  iomd_base;
+extern uint32_t  iomd_base;
 extern struct bus_space iomd_bs_tag;
 
 paddr_t physical_start;
diff -r fa6e97e623bb -r ad37ba1bffec sys/arch/acorn32/eb7500atx/if_cs.c
--- a/sys/arch/acorn32/eb7500atx/if_cs.c        Thu May 10 09:56:27 2012 +0000
+++ b/sys/arch/acorn32/eb7500atx/if_cs.c        Thu May 10 10:27:09 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_cs.c,v 1.8 2012/02/02 19:42:57 tls Exp $    */
+/*     $NetBSD: if_cs.c,v 1.9 2012/05/10 10:27:10 skrll Exp $  */
 
 /*
  * Copyright (c) 2004 Christopher Gilbert
@@ -58,7 +58,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_cs.c,v 1.8 2012/02/02 19:42:57 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_cs.c,v 1.9 2012/05/10 10:27:10 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -117,7 +117,7 @@
 int    cs_rsbus_probe(device_t, cfdata_t, void *);
 void   cs_rsbus_attach(device_t, device_t, void *);
 
-static u_int8_t cs_rbus_read_1(struct cs_softc *, bus_size_t);
+static uint8_t cs_rbus_read_1(struct cs_softc *, bus_size_t);
 
 CFATTACH_DECL_NEW(cs_rsbus, sizeof(struct cs_softc),
        cs_rsbus_probe, cs_rsbus_attach, NULL, NULL);
@@ -211,7 +211,7 @@
  * Provide a function to correctly do reading from oddly numbered registers
  * as you can't simply shift the register number
  */
-static u_int8_t
+static uint8_t
 cs_rbus_read_1(struct cs_softc *sc, bus_size_t a)
 {
        bus_size_t offset;
diff -r fa6e97e623bb -r ad37ba1bffec sys/arch/acorn32/eb7500atx/rsbus_io.c
--- a/sys/arch/acorn32/eb7500atx/rsbus_io.c     Thu May 10 09:56:27 2012 +0000
+++ b/sys/arch/acorn32/eb7500atx/rsbus_io.c     Thu May 10 10:27:09 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rsbus_io.c,v 1.3 2011/07/19 15:59:52 dyoung Exp $      */
+/*     $NetBSD: rsbus_io.c,v 1.4 2012/05/10 10:27:10 skrll Exp $       */
 
 /*
  * Copyright (c) 1997 Mark Brinicombe.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rsbus_io.c,v 1.3 2011/07/19 15:59:52 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rsbus_io.c,v 1.4 2012/05/10 10:27:10 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -132,7 +132,7 @@
 /* Rough-and-ready implementations from arm26 */
 void
 rsbus_bs_rr_1(void *cookie, bus_space_handle_t bsh,
-                       bus_size_t offset, u_int8_t *datap, bus_size_t count)
+                       bus_size_t offset, uint8_t *datap, bus_size_t count)
 {
        int i;
 
@@ -142,7 +142,7 @@
 
 void
 rsbus_bs_rr_2(void *cookie, bus_space_handle_t bsh,
-                       bus_size_t offset, u_int16_t *datap, bus_size_t count)
+                       bus_size_t offset, uint16_t *datap, bus_size_t count)
 {
        int i;
 
@@ -152,7 +152,7 @@
 
 void
 rsbus_bs_wr_1(void *cookie, bus_space_handle_t bsh,
-                        bus_size_t offset, u_int8_t const *datap,
+                        bus_size_t offset, uint8_t const *datap,
                         bus_size_t count)
 {
        int i;
@@ -163,7 +163,7 @@
 
 void
 rsbus_bs_wr_2(void *cookie, bus_space_handle_t bsh,
-                        bus_size_t offset, u_int16_t const *datap,
+                        bus_size_t offset, uint16_t const *datap,
                         bus_size_t count)
 {
        int i;
@@ -174,7 +174,7 @@
 
 void
 rsbus_bs_sr_1(void *cookie, bus_space_handle_t bsh,
-                      bus_size_t offset, u_int8_t value, bus_size_t count)
+                      bus_size_t offset, uint8_t value, bus_size_t count)
 {
        int i;
 
@@ -184,7 +184,7 @@
 
 void
 rsbus_bs_sr_2(void *cookie, bus_space_handle_t bsh,
-                      bus_size_t offset, u_int16_t value, bus_size_t count)
+                      bus_size_t offset, uint16_t value, bus_size_t count)
 {
        int i;
 
diff -r fa6e97e623bb -r ad37ba1bffec sys/arch/acorn32/include/podulebus_machdep.h
--- a/sys/arch/acorn32/include/podulebus_machdep.h      Thu May 10 09:56:27 2012 +0000
+++ b/sys/arch/acorn32/include/podulebus_machdep.h      Thu May 10 10:27:09 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: podulebus_machdep.h,v 1.4 2011/07/19 15:59:53 dyoung Exp $ */
+/* $NetBSD: podulebus_machdep.h,v 1.5 2012/05/10 10:27:10 skrll Exp $ */
 
 /*
  * Copyright (c) 1995 Mark Brinicombe.
@@ -153,7 +153,7 @@
 int matchpodule(struct podule_attach_args *pa,
     int manufacturer, int product, int required_slot);
 
-void netslot_ea(u_int8_t *buffer);
+void netslot_ea(uint8_t *buffer);
 
 extern void *podulebus_irq_establish(podulebus_intr_handle_t, int,
     int (*)(void *), void *, struct evcnt *);
diff -r fa6e97e623bb -r ad37ba1bffec sys/arch/acorn32/podulebus/if_ie.c
--- a/sys/arch/acorn32/podulebus/if_ie.c        Thu May 10 09:56:27 2012 +0000
+++ b/sys/arch/acorn32/podulebus/if_ie.c        Thu May 10 10:27:09 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ie.c,v 1.30 2011/06/03 07:35:37 matt Exp $ */
+/* $NetBSD: if_ie.c,v 1.31 2012/05/10 10:27:10 skrll Exp $ */
 
 /*
  * Copyright (c) 1995 Melvin Tang-Richardson.
@@ -53,7 +53,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.30 2011/06/03 07:35:37 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ie.c,v 1.31 2012/05/10 10:27:10 skrll Exp $");
 
 #define IGNORE_ETHER1_IDROM_CHECKSUM
 
@@ -312,7 +312,7 @@
        struct ifnet *ifp = &sc->sc_ethercom.ec_if;
        int i;
        char idrom[32];
-       u_int8_t hwaddr[ETHER_ADDR_LEN];
+       uint8_t hwaddr[ETHER_ADDR_LEN];
 
        /* Check a few things about the attach args */
 
diff -r fa6e97e623bb -r ad37ba1bffec sys/arch/acorn32/podulebus/if_ne_pbus.c
--- a/sys/arch/acorn32/podulebus/if_ne_pbus.c   Thu May 10 09:56:27 2012 +0000
+++ b/sys/arch/acorn32/podulebus/if_ne_pbus.c   Thu May 10 10:27:09 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ne_pbus.c,v 1.16 2011/07/19 15:59:54 dyoung Exp $   */
+/*     $NetBSD: if_ne_pbus.c,v 1.17 2012/05/10 10:27:10 skrll Exp $    */
 
 /*
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -50,7 +50,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ne_pbus.c,v 1.16 2011/07/19 15:59:54 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ne_pbus.c,v 1.17 2012/05/10 10:27:10 skrll Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -105,11 +105,11 @@
 /*
  * Prototypes for interface specific routines
  */
-static u_int8_t *em_ea         (struct ne_pbus_softc *sc, u_int8_t *buffer);
+static uint8_t *em_ea          (struct ne_pbus_softc *sc, uint8_t *buffer);
 static void em_postattach      (struct ne_pbus_softc *sc);
 static void eh600_postattach   (struct ne_pbus_softc *sc);
 static void eh600_preattach    (struct ne_pbus_softc *sc);
-static u_int8_t *eh600_ea      (struct ne_pbus_softc *sc, u_int8_t *buffer);
+static uint8_t *eh600_ea       (struct ne_pbus_softc *sc, uint8_t *buffer);
 
 void   eh600_init_media        (struct dp8390_softc *);
 
@@ -139,8 +139,8 @@
 #define NE_SPACE_EASI           2
        unsigned char   reserved0;      /* not used (padding) */
        const char      *name;          /* name */
-       u_int8_t *      (*getea)        /* do this to get the MAC */
-                           (struct ne_pbus_softc *sc, u_int8_t *buffer);
+       uint8_t *       (*getea)        /* do this to get the MAC */
+                           (struct ne_pbus_softc *sc, uint8_t *buffer);
        void            (*preattach)    /* do this before attach */
                            (struct ne_pbus_softc *sc);
        void            (*postattach)   /* do this after attach */
@@ -236,8 +236,8 @@
 
        int *media, nmedia, defmedia;
        struct ne_clone *ne = NULL;
-       u_int8_t buffer[6];
-       u_int8_t *myea;
+       uint8_t buffer[6];
+       uint8_t *myea;
        int loop;
 
        dsc->sc_dev = self;
@@ -627,7 +627,7 @@
                        pod_addr |= (POD_READ(address + 28) << 24);
 
                        if (pod_addr < 0x800) {
-                               u_int8_t tmp;
+                               uint8_t tmp;
                                int addr_index = 0;
                                int found_ether = 0;
 
diff -r fa6e97e623bb -r ad37ba1bffec sys/arch/acorn32/podulebus/netslot.c
--- a/sys/arch/acorn32/podulebus/netslot.c      Thu May 10 09:56:27 2012 +0000
+++ b/sys/arch/acorn32/podulebus/netslot.c      Thu May 10 10:27:09 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netslot.c,v 1.9 2011/06/03 07:35:37 matt Exp $ */
+/*     $NetBSD: netslot.c,v 1.10 2012/05/10 10:27:10 skrll Exp $       */
 
 /*
  * Copyright (c) 1994-1996 Mark Brinicombe.
@@ -35,7 +35,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(1, "$NetBSD: netslot.c,v 1.9 2011/06/03 07:35:37 matt Exp $");
+__KERNEL_RCSID(1, "$NetBSD: netslot.c,v 1.10 2012/05/10 10:27:10 skrll Exp $");
 
 #include <sys/systm.h>
 #include <sys/kernel.h>
@@ -143,7 +143,7 @@
 }
 
 void
-netslot_ea(u_int8_t *buffer)
+netslot_ea(uint8_t *buffer)
 {
        /* Build station address from machine ID */
        buffer[0] = 0x00;
diff -r fa6e97e623bb -r ad37ba1bffec sys/arch/acorn32/podulebus/podulebus_io.c
--- a/sys/arch/acorn32/podulebus/podulebus_io.c Thu May 10 09:56:27 2012 +0000
+++ b/sys/arch/acorn32/podulebus/podulebus_io.c Thu May 10 10:27:09 2012 +0000



Home | Main Index | Thread Index | Old Index