summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormsaitoh <msaitoh@NetBSD.org>2019-01-08 03:03:50 +0000
committermsaitoh <msaitoh@NetBSD.org>2019-01-08 03:03:50 +0000
commit085f48880a6c9ae92d803e63cf93ab8ad38ba29b (patch)
tree28872ca883b4d5c376e8ed43efc5a4e4209a4e85 /sys/dev
parenta8ff3ea2b9dc2f590433d4ab17d2258615557b6b (diff)
s/u_int32_t/uint32_t/
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/mii/mii_bitbang.c8
-rw-r--r--sys/dev/mii/miivar.h6
2 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/mii/mii_bitbang.c b/sys/dev/mii/mii_bitbang.c
index fe8b88db6b1..9d376830da1 100644
--- a/sys/dev/mii/mii_bitbang.c
+++ b/sys/dev/mii/mii_bitbang.c
@@ -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);
diff --git a/sys/dev/mii/miivar.h b/sys/dev/mii/miivar.h
index 89970dce662..40c0dbb9b65 100644
--- a/sys/dev/mii/miivar.h
+++ b/sys/dev/mii/miivar.h
@@ -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 */
};