Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/mii unbreak the previous commit error



details:   https://anonhg.NetBSD.org/src/rev/3477fcd21ac9
branches:  trunk
changeset: 744858:3477fcd21ac9
user:      nisimura <nisimura%NetBSD.org@localhost>
date:      Fri Feb 14 14:17:42 2020 +0000

description:
unbreak the previous commit error

diffstat:

 sys/dev/mii/dmphy.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r b875ce991585 -r 3477fcd21ac9 sys/dev/mii/dmphy.c
--- a/sys/dev/mii/dmphy.c       Fri Feb 14 14:14:45 2020 +0000
+++ b/sys/dev/mii/dmphy.c       Fri Feb 14 14:17:42 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dmphy.c,v 1.45 2020/02/14 14:14:45 nisimura Exp $      */
+/*     $NetBSD: dmphy.c,v 1.46 2020/02/14 14:17:42 nisimura Exp $      */
 
 /*-
  * Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dmphy.c,v 1.45 2020/02/14 14:14:45 nisimura Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dmphy.c,v 1.46 2020/02/14 14:17:42 nisimura Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -241,7 +241,7 @@
                else
                        mii->mii_media_active |= IFM_NONE;
                if (mii->mii_media_active & IFM_FDX)
-                       mii->mii_media_active |= mii_phy_flowstatus(phy);
+                       mii->mii_media_active |= mii_phy_flowstatus(sc);
        } else
                mii->mii_media_active = ife->ifm_media;
 }



Home | Main Index | Thread Index | Old Index