Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7-0]: src/sys/dev/mii Pull up following revision(s) (requested by...
details: https://anonhg.NetBSD.org/src/rev/9da8b36f9855
branches: netbsd-7-0
changeset: 801057:9da8b36f9855
user: riz <riz%NetBSD.org@localhost>
date: Wed Nov 04 18:21:07 2015 +0000
description:
Pull up following revision(s) (requested by msaitoh in ticket #971):
sys/dev/mii/atphy.c: revision 1.17
Fix incorrect argument of mii_anar(). Fixes PR#50206.
XXX pullup -[567]
diffstat:
sys/dev/mii/atphy.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 79abba415a5b -r 9da8b36f9855 sys/dev/mii/atphy.c
--- a/sys/dev/mii/atphy.c Wed Nov 04 16:43:51 2015 +0000
+++ b/sys/dev/mii/atphy.c Wed Nov 04 18:21:07 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atphy.c,v 1.16 2014/06/16 12:36:41 msaitoh Exp $ */
+/* $NetBSD: atphy.c,v 1.16.6.1 2015/11/04 18:21:07 riz Exp $ */
/* $OpenBSD: atphy.c,v 1.1 2008/09/25 20:47:16 brad Exp $ */
/*-
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: atphy.c,v 1.16 2014/06/16 12:36:41 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: atphy.c,v 1.16.6.1 2015/11/04 18:21:07 riz Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -228,7 +228,7 @@
return EINVAL;
}
- anar = mii_anar(ife->ifm_media);
+ anar = mii_anar(IFM_SUBTYPE(ife->ifm_media));
if (((ife->ifm_media & IFM_GMASK) & IFM_FDX) != 0) {
bmcr |= BMCR_FDX;
/* Enable pause. */
Home |
Main Index |
Thread Index |
Old Index