Author: yongari
Date: Mon Dec 14 19:53:57 2009
New Revision: 200533
URL: http://svn.freebsd.org/changeset/base/200533

Log:
  s/u_intXX_t/uintXX_t/g

Modified:
  head/sys/dev/vge/if_vge.c
  head/sys/dev/vge/if_vgevar.h

Modified: head/sys/dev/vge/if_vge.c
==============================================================================
--- head/sys/dev/vge/if_vge.c   Mon Dec 14 19:49:20 2009        (r200532)
+++ head/sys/dev/vge/if_vge.c   Mon Dec 14 19:53:57 2009        (r200533)
@@ -172,7 +172,7 @@ static int vge_ifmedia_upd  (struct ifnet
 static void vge_ifmedia_sts    (struct ifnet *, struct ifmediareq *);
 
 #ifdef VGE_EEPROM
-static void vge_eeprom_getword (struct vge_softc *, int, u_int16_t *);
+static void vge_eeprom_getword (struct vge_softc *, int, uint16_t *);
 #endif
 static void vge_read_eeprom    (struct vge_softc *, caddr_t, int, int, int);
 
@@ -224,10 +224,10 @@ DRIVER_MODULE(miibus, vge, miibus_driver
  * Read a word of data stored in the EEPROM at address 'addr.'
  */
 static void
-vge_eeprom_getword(struct vge_softc *sc, int addr, u_int16_t *dest)
+vge_eeprom_getword(struct vge_softc *sc, int addr, uint16_t *dest)
 {
        int                     i;
-       u_int16_t               word = 0;
+       uint16_t                word = 0;
 
        /*
         * Enter EEPROM embedded programming mode. In order to
@@ -274,11 +274,11 @@ vge_read_eeprom(struct vge_softc *sc, ca
 {
        int                     i;
 #ifdef VGE_EEPROM
-       u_int16_t               word = 0, *ptr;
+       uint16_t                word = 0, *ptr;
 
        for (i = 0; i < cnt; i++) {
                vge_eeprom_getword(sc, off + i, &word);
-               ptr = (u_int16_t *)(dest + (i * 2));
+               ptr = (uint16_t *)(dest + (i * 2));
                if (swap)
                        *ptr = ntohs(word);
                else
@@ -349,7 +349,7 @@ vge_miibus_readreg(device_t dev, int phy
 {
        struct vge_softc        *sc;
        int                     i;
-       u_int16_t               rval = 0;
+       uint16_t                rval = 0;
 
        sc = device_get_softc(dev);
 
@@ -515,7 +515,7 @@ vge_setmulti(struct vge_softc *sc)
        struct ifnet            *ifp;
        int                     error = 0/*, h = 0*/;
        struct ifmultiaddr      *ifma;
-       u_int32_t               h, hashes[2] = { 0, 0 };
+       uint32_t                h, hashes[2] = { 0, 0 };
 
        VGE_LOCK_ASSERT(sc);
 
@@ -1613,7 +1613,7 @@ vge_poll (struct ifnet *ifp, enum poll_c
                vge_start_locked(ifp);
 
        if (cmd == POLL_AND_CHECK_STATUS) { /* also check status register */
-               u_int32_t       status;
+               uint32_t       status;
                status = CSR_READ_4(sc, VGE_ISR);
                if (status == 0xFFFFFFFF)
                        goto done;
@@ -1648,7 +1648,7 @@ vge_intr(void *arg)
 {
        struct vge_softc        *sc;
        struct ifnet            *ifp;
-       u_int32_t               status;
+       uint32_t                status;
 
        sc = arg;
 

Modified: head/sys/dev/vge/if_vgevar.h
==============================================================================
--- head/sys/dev/vge/if_vgevar.h        Mon Dec 14 19:49:20 2009        
(r200532)
+++ head/sys/dev/vge/if_vgevar.h        Mon Dec 14 19:53:57 2009        
(r200533)
@@ -139,7 +139,7 @@ struct vge_softc {
        struct resource         *vge_irq;
        void                    *vge_intrhand;
        device_t                vge_miibus;
-       u_int8_t                vge_type;
+       uint8_t                 vge_type;
        int                     vge_if_flags;
        int                     vge_link;
        int                     vge_camidx;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to