Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/mii Make mii_media_active unsigned.



details:   https://anonhg.NetBSD.org/src/rev/94d69858b88b
branches:  trunk
changeset: 539062:94d69858b88b
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Nov 07 07:45:03 2002 +0000

description:
Make mii_media_active unsigned.

diffstat:

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

diffs (27 lines):

diff -r 362992d8f84b -r 94d69858b88b sys/dev/mii/miivar.h
--- a/sys/dev/mii/miivar.h      Thu Nov 07 07:42:24 2002 +0000
+++ b/sys/dev/mii/miivar.h      Thu Nov 07 07:45:03 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: miivar.h,v 1.33 2002/11/07 07:41:24 thorpej Exp $      */
+/*     $NetBSD: miivar.h,v 1.34 2002/11/07 07:45:03 thorpej Exp $      */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@@ -79,7 +79,7 @@
         * PHY driver fills this in with active media status.
         */
        int mii_media_status;
-       int mii_media_active;
+       u_int mii_media_active;
 
        /*
         * Calls from MII layer into network interface driver.
@@ -134,7 +134,7 @@
 
        struct callout mii_nway_ch;     /* NWAY callout */
 
-       int mii_media_active;           /* last active media */
+       u_int mii_media_active;         /* last active media */
        int mii_media_status;           /* last active status */
 };
 typedef struct mii_softc mii_softc_t;



Home | Main Index | Thread Index | Old Index