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/43be0e5593d5
branches: netbsd-9
changeset: 460851:43be0e5593d5
user: martin <martin%NetBSD.org@localhost>
date: Wed Nov 06 09:53:59 2019 +0000
description:
Pull up following revision(s) (requested by msaitoh in ticket #402):
sys/dev/mii/ukphy_subr.c: revision 1.16
Fix a bug that ukphy_status() misunderstand master mode.
diffstat:
sys/dev/mii/ukphy_subr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r ef2e80aa9d93 -r 43be0e5593d5 sys/dev/mii/ukphy_subr.c
--- a/sys/dev/mii/ukphy_subr.c Wed Nov 06 09:52:20 2019 +0000
+++ b/sys/dev/mii/ukphy_subr.c Wed Nov 06 09:53:59 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ukphy_subr.c,v 1.15 2019/03/25 09:20:46 msaitoh Exp $ */
+/* $NetBSD: ukphy_subr.c,v 1.15.4.1 2019/11/06 09:53:59 martin Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ukphy_subr.c,v 1.15 2019/03/25 09:20:46 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ukphy_subr.c,v 1.15.4.1 2019/11/06 09:53:59 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -119,7 +119,7 @@
else
mii->mii_media_active |= IFM_NONE;
- if ((mii->mii_media_active & IFM_1000_T) &&
+ if ((IFM_SUBTYPE(mii->mii_media_active) == IFM_1000_T) &&
(gtsr & GTSR_MS_RES))
mii->mii_media_active |= IFM_ETH_MASTER;
Home |
Main Index |
Thread Index |
Old Index