Module Name: src
Committed By: ryo
Date: Fri Sep 26 08:05:00 UTC 2014
Modified Files:
src/sys/dev/mii: micphy.c
Log Message:
s/__diagused/__debugused/ for KDASSERT
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/mii/micphy.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/micphy.c
diff -u src/sys/dev/mii/micphy.c:1.2 src/sys/dev/mii/micphy.c:1.3
--- src/sys/dev/mii/micphy.c:1.2 Wed Sep 10 22:46:34 2014
+++ src/sys/dev/mii/micphy.c Fri Sep 26 08:05:00 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: micphy.c,v 1.2 2014/09/10 22:46:34 ryo Exp $ */
+/* $NetBSD: micphy.c,v 1.3 2014/09/26 08:05:00 ryo Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -59,7 +59,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: micphy.c,v 1.2 2014/09/10 22:46:34 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: micphy.c,v 1.3 2014/09/26 08:05:00 ryo Exp $");
#include "opt_mii.h"
@@ -219,7 +219,7 @@ micphy_service(struct mii_softc *sc, str
static void micphy_writexreg(struct mii_softc *sc, uint32_t reg, uint32_t wval)
{
- int rval __diagused;
+ int rval __debugused;
PHY_WRITE(sc, XREG_CONTROL, XREG_CTL_SEL_WRITE | reg);
PHY_WRITE(sc, XREG_WRITE, wval);