Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/ic Use MIIF_FORCEANEG.



details:   https://anonhg.NetBSD.org/src/rev/b4f2538fffa2
branches:  trunk
changeset: 543250:b4f2538fffa2
user:      petrov <petrov%NetBSD.org@localhost>
date:      Thu Feb 20 20:09:56 2003 +0000

description:
Use MIIF_FORCEANEG.

diffstat:

 sys/dev/ic/hme.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r ef1127e8a040 -r b4f2538fffa2 sys/dev/ic/hme.c
--- a/sys/dev/ic/hme.c  Thu Feb 20 16:22:49 2003 +0000
+++ b/sys/dev/ic/hme.c  Thu Feb 20 20:09:56 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hme.c,v 1.33 2003/02/13 12:10:20 pk Exp $      */
+/*     $NetBSD: hme.c,v 1.34 2003/02/20 20:09:56 petrov Exp $  */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hme.c,v 1.33 2003/02/13 12:10:20 pk Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hme.c,v 1.34 2003/02/20 20:09:56 petrov Exp $");
 
 #define HMEDEBUG
 
@@ -258,7 +258,7 @@
 
        /* Initialize ifmedia structures and MII info */
        mii->mii_ifp = ifp;
-       mii->mii_readreg = hme_mii_readreg; 
+       mii->mii_readreg = hme_mii_readreg;
        mii->mii_writereg = hme_mii_writereg;
        mii->mii_statchg = hme_mii_statchg;
 
@@ -267,7 +267,7 @@
        hme_mifinit(sc);
 
        mii_attach(&sc->sc_dev, mii, 0xffffffff,
-                       MII_PHY_ANY, MII_OFFSET_ANY, 0);
+                       MII_PHY_ANY, MII_OFFSET_ANY, MIIF_FORCEANEG);
 
        child = LIST_FIRST(&mii->mii_phys);
        if (child == NULL) {



Home | Main Index | Thread Index | Old Index