Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/mii Change the register size to uint16_t again in ma...
details: https://anonhg.NetBSD.org/src/rev/0479e2f5d2eb
branches: trunk
changeset: 838409:0479e2f5d2eb
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Wed Jan 16 05:19:30 2019 +0000
description:
Change the register size to uint16_t again in makphy_reset(). No functional
change intended.
diffstat:
sys/dev/mii/makphy.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 8167c80d04b0 -r 0479e2f5d2eb sys/dev/mii/makphy.c
--- a/sys/dev/mii/makphy.c Wed Jan 16 05:11:06 2019 +0000
+++ b/sys/dev/mii/makphy.c Wed Jan 16 05:19:30 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: makphy.c,v 1.50 2019/01/16 05:11:06 msaitoh Exp $ */
+/* $NetBSD: makphy.c,v 1.51 2019/01/16 05:19:30 msaitoh Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -59,7 +59,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: makphy.c,v 1.50 2019/01/16 05:11:06 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: makphy.c,v 1.51 2019/01/16 05:19:30 msaitoh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -230,7 +230,7 @@
static void
makphy_reset(struct mii_softc *sc)
{
- int reg;
+ uint16_t reg;
mii_phy_reset(sc);
Home |
Main Index |
Thread Index |
Old Index