Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/mii s/u_int32_t/uint32_t/
details: https://anonhg.NetBSD.org/src/rev/7428d2183e91
branches: trunk
changeset: 447340:7428d2183e91
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Tue Jan 08 03:03:50 2019 +0000
description:
s/u_int32_t/uint32_t/
diffstat:
sys/dev/mii/mii_bitbang.c | 8 ++++----
sys/dev/mii/miivar.h | 6 +++---
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (56 lines):
diff -r 42764ade4644 -r 7428d2183e91 sys/dev/mii/mii_bitbang.c
--- a/sys/dev/mii/mii_bitbang.c Tue Jan 08 01:31:49 2019 +0000
+++ b/sys/dev/mii/mii_bitbang.c Tue Jan 08 03:03:50 2019 +0000
@@ -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 @@
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 @@
int nbits)
{
int i;
- u_int32_t v;
+ uint32_t v;
v = MDIRPHY;
WRITE(v);
diff -r 42764ade4644 -r 7428d2183e91 sys/dev/mii/miivar.h
--- a/sys/dev/mii/miivar.h Tue Jan 08 01:31:49 2019 +0000
+++ b/sys/dev/mii/miivar.h Tue Jan 08 03:03:50 2019 +0000
@@ -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 @@
* 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 */
};
Home |
Main Index |
Thread Index |
Old Index