Module Name: src Committed By: msaitoh Date: Wed Jan 16 05:19:30 UTC 2019
Modified Files: src/sys/dev/mii: makphy.c Log Message: Change the register size to uint16_t again in makphy_reset(). No functional change intended. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/sys/dev/mii/makphy.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/mii/makphy.c diff -u src/sys/dev/mii/makphy.c:1.50 src/sys/dev/mii/makphy.c:1.51 --- src/sys/dev/mii/makphy.c:1.50 Wed Jan 16 05:11:06 2019 +++ src/sys/dev/mii/makphy.c Wed Jan 16 05:19:30 2019 @@ -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 @@ makphyattach(device_t parent, device_t s static void makphy_reset(struct mii_softc *sc) { - int reg; + uint16_t reg; mii_phy_reset(sc);