Source-Changes-HG archive

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

[src/netbsd-1-6]: src/sys/dev/mii Pull up revision 1.9 (requested by fair in ...



details:   https://anonhg.NetBSD.org/src/rev/7d813c0cd927
branches:  netbsd-1-6
changeset: 529688:7d813c0cd927
user:      he <he%NetBSD.org@localhost>
date:      Sat Dec 07 22:04:27 2002 +0000

description:
Pull up revision 1.9 (requested by fair in ticket #912):
  Fix media detection on this PHY.  Part of fix for PR#18590.

diffstat:

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

diffs (27 lines):

diff -r dc44da01ee34 -r 7d813c0cd927 sys/dev/mii/pnaphy.c
--- a/sys/dev/mii/pnaphy.c      Sat Dec 07 21:59:17 2002 +0000
+++ b/sys/dev/mii/pnaphy.c      Sat Dec 07 22:04:27 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pnaphy.c,v 1.4 2002/03/25 20:51:25 thorpej Exp $       */
+/*     $NetBSD: pnaphy.c,v 1.4.4.1 2002/12/07 22:04:27 he Exp $        */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -47,7 +47,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pnaphy.c,v 1.4 2002/03/25 20:51:25 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pnaphy.c,v 1.4.4.1 2002/12/07 22:04:27 he Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -118,7 +118,7 @@
        sc->mii_phy = ma->mii_phyno;
        sc->mii_funcs = &pnaphy_funcs;
        sc->mii_pdata = mii;
-       sc->mii_flags = ma->mii_flags;
+       sc->mii_flags = ma->mii_flags | MIIF_IS_HPNA; /* force HomePNA */
        sc->mii_anegticks = 5;
 
        PHY_RESET(sc);



Home | Main Index | Thread Index | Old Index