Source-Changes-HG archive

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

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



details:   https://anonhg.NetBSD.org/src/rev/9fef260d7d1b
branches:  netbsd-9
changeset: 843437:9fef260d7d1b
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Oct 24 16:29:13 2019 +0000

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

        sys/dev/mii/ciphy.c: revision 1.36

Call mii_phy_flowstatus() to show the flow setting.

diffstat:

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

diffs (27 lines):

diff -r fcf435d43d3f -r 9fef260d7d1b sys/dev/mii/ciphy.c
--- a/sys/dev/mii/ciphy.c       Thu Oct 24 16:27:21 2019 +0000
+++ b/sys/dev/mii/ciphy.c       Thu Oct 24 16:29:13 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ciphy.c,v 1.34.4.2 2019/10/23 19:45:56 martin Exp $ */
+/* $NetBSD: ciphy.c,v 1.34.4.3 2019/10/24 16:29:13 martin Exp $ */
 
 /*-
  * Copyright (c) 2004
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ciphy.c,v 1.34.4.2 2019/10/23 19:45:56 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ciphy.c,v 1.34.4.3 2019/10/24 16:29:13 martin Exp $");
 
 /*
  * Driver for the Cicada CS8201 10/100/1000 copper PHY.
@@ -339,7 +339,7 @@
        }
 
        if (bmsr & CIPHY_AUXCSR_FDX)
-               mii->mii_media_active |= IFM_FDX;
+               mii->mii_media_active |= IFM_FDX | mii_phy_flowstatus(sc);
        else
                mii->mii_media_active |= IFM_HDX;
 



Home | Main Index | Thread Index | Old Index