Module Name:    src
Committed By:   msaitoh
Date:           Wed Jan 16 08:40:24 UTC 2019

Modified Files:
        src/sys/dev/mii: ciphy.c

Log Message:
CIPHY_MII_BMCR -> MII_BMCR in #ifdef foo.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/mii/ciphy.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/ciphy.c
diff -u src/sys/dev/mii/ciphy.c:1.27 src/sys/dev/mii/ciphy.c:1.28
--- src/sys/dev/mii/ciphy.c:1.27	Wed Jan 16 08:32:58 2019
+++ src/sys/dev/mii/ciphy.c	Wed Jan 16 08:40:24 2019
@@ -1,4 +1,4 @@
-/* $NetBSD: ciphy.c,v 1.27 2019/01/16 08:32:58 msaitoh Exp $ */
+/* $NetBSD: ciphy.c,v 1.28 2019/01/16 08:40:24 msaitoh Exp $ */
 
 /*-
  * Copyright (c) 2004
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ciphy.c,v 1.27 2019/01/16 08:32:58 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ciphy.c,v 1.28 2019/01/16 08:40:24 msaitoh Exp $");
 
 /*
  * Driver for the Cicada CS8201 10/100/1000 copper PHY.
@@ -183,7 +183,7 @@ ciphy_service(struct mii_softc *sc, stru
 			/*
 			 * If we're already in auto mode, just return.
 			 */
-			if (PHY_READ(sc, CIPHY_MII_BMCR) & CIPHY_BMCR_AUTOEN)
+			if (PHY_READ(sc, MII_BMCR) & BMCR_AUTOEN)
 				return (0);
 #endif
 			(void) mii_phy_auto(sc, 0);

Reply via email to