Source-Changes-HG archive

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

[src/netbsd-8]: src/sys/dev/mii Pull up following revision(s) (requested by m...



details:   https://anonhg.NetBSD.org/src/rev/19a0b4a03782
branches:  netbsd-8
changeset: 448026:19a0b4a03782
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Jan 31 05:59:55 2019 +0000

description:
Pull up following revision(s) (requested by msaitoh in ticket #1177):

        sys/dev/mii/rgephy.c: revision 1.45
        sys/dev/mii/urlphy.c: revision 1.32

  Pass flags correctly. See also:
http://mail-index.netbsd.org/source-changes/2002/03/25/msg100515.html

diffstat:

 sys/dev/mii/rgephy.c |  6 +++---
 sys/dev/mii/urlphy.c |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 4ff28298df7e -r 19a0b4a03782 sys/dev/mii/rgephy.c
--- a/sys/dev/mii/rgephy.c      Wed Jan 30 13:56:10 2019 +0000
+++ b/sys/dev/mii/rgephy.c      Thu Jan 31 05:59:55 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rgephy.c,v 1.40 2015/08/21 12:22:22 jmcneill Exp $     */
+/*     $NetBSD: rgephy.c,v 1.40.10.1 2019/01/31 05:59:55 martin Exp $  */
 
 /*
  * Copyright (c) 2003
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rgephy.c,v 1.40 2015/08/21 12:22:22 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rgephy.c,v 1.40.10.1 2019/01/31 05:59:55 martin Exp $");
 
 
 /*
@@ -131,7 +131,7 @@
        sc->mii_mpd_model = MII_MODEL(ma->mii_id2);
        sc->mii_mpd_rev = MII_REV(ma->mii_id2);
        sc->mii_pdata = mii;
-       sc->mii_flags = mii->mii_flags;
+       sc->mii_flags = ma->mii_flags;
        sc->mii_anegticks = MII_ANEGTICKS_GIGE;
 
        sc->mii_funcs = &rgephy_funcs;
diff -r 4ff28298df7e -r 19a0b4a03782 sys/dev/mii/urlphy.c
--- a/sys/dev/mii/urlphy.c      Wed Jan 30 13:56:10 2019 +0000
+++ b/sys/dev/mii/urlphy.c      Thu Jan 31 05:59:55 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: urlphy.c,v 1.31 2016/07/07 06:55:41 msaitoh Exp $      */
+/*     $NetBSD: urlphy.c,v 1.31.10.1 2019/01/31 05:59:55 martin Exp $  */
 /*
  * Copyright (c) 2001, 2002
  *     Shingo WATANABE <nabe%nabechan.org@localhost>.  All rights reserved.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: urlphy.c,v 1.31 2016/07/07 06:55:41 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: urlphy.c,v 1.31.10.1 2019/01/31 05:59:55 martin Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -110,7 +110,7 @@
        sc->mii_phy = ma->mii_phyno;
        sc->mii_funcs = &urlphy_funcs;
        sc->mii_pdata = mii;
-       sc->mii_flags = mii->mii_flags;
+       sc->mii_flags = ma->mii_flags;
        sc->mii_anegticks = MII_ANEGTICKS_GIGE;
 
        /* Don't do loopback on this PHY. */



Home | Main Index | Thread Index | Old Index