Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/mii Call mii_phy_flowstatus() to show the flow setting.



details:   https://anonhg.NetBSD.org/src/rev/42d1db07ea2b
branches:  trunk
changeset: 845665:42d1db07ea2b
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri Oct 11 09:31:52 2019 +0000

description:
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 25f713bba8d4 -r 42d1db07ea2b sys/dev/mii/ciphy.c
--- a/sys/dev/mii/ciphy.c       Fri Oct 11 09:29:04 2019 +0000
+++ b/sys/dev/mii/ciphy.c       Fri Oct 11 09:31:52 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ciphy.c,v 1.35 2019/10/11 09:29:04 msaitoh Exp $ */
+/* $NetBSD: ciphy.c,v 1.36 2019/10/11 09:31:52 msaitoh Exp $ */
 
 /*-
  * Copyright (c) 2004
@@ -35,7 +35,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ciphy.c,v 1.35 2019/10/11 09:29:04 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ciphy.c,v 1.36 2019/10/11 09:31:52 msaitoh 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