s/u_int32_t/uint32_t/

This commit is contained in:
msaitoh 2019-01-08 03:03:50 +00:00
parent 77213afac9
commit 51c183ce48
2 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: mii_bitbang.c,v 1.12 2008/05/04 17:06:09 xtraeme Exp $ */
/* $NetBSD: mii_bitbang.c,v 1.13 2019/01/08 03:03:50 msaitoh Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mii_bitbang.c,v 1.12 2008/05/04 17:06:09 xtraeme Exp $");
__KERNEL_RCSID(0, "$NetBSD: mii_bitbang.c,v 1.13 2019/01/08 03:03:50 msaitoh Exp $");
#include <sys/param.h>
#include <sys/device.h>
@ -66,7 +66,7 @@ static void
mii_bitbang_sync(device_t sc, mii_bitbang_ops_t ops)
{
int i;
u_int32_t v;
uint32_t v;
v = MDIRPHY | MDO;
@ -87,7 +87,7 @@ mii_bitbang_sendbits(device_t sc, mii_bitbang_ops_t ops, uint32_t data,
int nbits)
{
int i;
u_int32_t v;
uint32_t v;
v = MDIRPHY;
WRITE(v);

View File

@ -1,4 +1,4 @@
/* $NetBSD: miivar.h,v 1.62 2014/05/28 09:49:55 msaitoh Exp $ */
/* $NetBSD: miivar.h,v 1.63 2019/01/08 03:03:50 msaitoh Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@ -182,8 +182,8 @@ typedef struct mii_attach_args mii_attach_args_t;
* Used to match a PHY.
*/
struct mii_phydesc {
u_int32_t mpd_oui; /* the PHY's OUI */
u_int32_t mpd_model; /* the PHY's model */
uint32_t mpd_oui; /* the PHY's OUI */
uint32_t mpd_model; /* the PHY's model */
const char *mpd_name; /* the PHY's name */
};