Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/isa u_int*_t -> uint*_t



details:   https://anonhg.NetBSD.org/src/rev/72f320e11221
branches:  trunk
changeset: 370111:72f320e11221
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat Sep 17 17:08:43 2022 +0000

description:
u_int*_t -> uint*_t

diffstat:

 sys/dev/isa/if_el.c |  18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diffs (67 lines):

diff -r cac51558ba64 -r 72f320e11221 sys/dev/isa/if_el.c
--- a/sys/dev/isa/if_el.c       Sat Sep 17 17:05:12 2022 +0000
+++ b/sys/dev/isa/if_el.c       Sat Sep 17 17:08:43 2022 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_el.c,v 1.100 2022/09/17 17:05:12 thorpej Exp $      */
+/*     $NetBSD: if_el.c,v 1.101 2022/09/17 17:08:43 thorpej Exp $      */
 
 /*
  * Copyright (c) 1994, Matthew E. Kimmel.  Permission is hereby granted
@@ -19,7 +19,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_el.c,v 1.100 2022/09/17 17:05:12 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_el.c,v 1.101 2022/09/17 17:08:43 thorpej Exp $");
 
 #include "opt_inet.h"
 
@@ -110,8 +110,8 @@
        bus_space_tag_t iot = ia->ia_iot;
        bus_space_handle_t ioh;
        int iobase;
-       u_int8_t station_addr[ETHER_ADDR_LEN];
-       u_int8_t i;
+       uint8_t station_addr[ETHER_ADDR_LEN];
+       uint8_t i;
        int rval;
 
        rval = 0;
@@ -198,8 +198,8 @@
        bus_space_tag_t iot = ia->ia_iot;
        bus_space_handle_t ioh;
        struct ifnet *ifp = &sc->sc_ethercom.ec_if;
-       u_int8_t myaddr[ETHER_ADDR_LEN];
-       u_int8_t i;
+       uint8_t myaddr[ETHER_ADDR_LEN];
+       uint8_t i;
 
        sc->sc_dev = self;
 
@@ -402,7 +402,7 @@
                /* Copy the datagram to the buffer. */
                for (m = m0; m != 0; m = m->m_next)
                        bus_space_write_multi_1(iot, ioh, EL_BUF,
-                           mtod(m, u_int8_t *), m->m_len);
+                           mtod(m, uint8_t *), m->m_len);
                for (i = 0;
                    i < ETHER_MIN_LEN - ETHER_CRC_LEN - m0->m_pkthdr.len; i++)
                        bus_space_write_1(iot, ioh, EL_BUF, 0);
@@ -498,7 +498,7 @@
        struct el_softc *sc = arg;
        bus_space_tag_t iot = sc->sc_iot;
        bus_space_handle_t ioh = sc->sc_ioh;
-       u_int8_t rxstat;
+       uint8_t rxstat;
        int len;
 
        DPRINTF(("elintr: "));
@@ -617,7 +617,7 @@
                }
 
                m->m_len = len = uimin(totlen, len);
-               bus_space_read_multi_1(iot, ioh, EL_BUF, mtod(m, u_int8_t *), len);
+               bus_space_read_multi_1(iot, ioh, EL_BUF, mtod(m, uint8_t *), len);
 
                totlen -= len;
                if (totlen > 0) {



Home | Main Index | Thread Index | Old Index