Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/mii 82579 support.



details:   https://anonhg.NetBSD.org/src/rev/0bff657c31b3
branches:  trunk
changeset: 765135:0bff657c31b3
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri May 20 06:06:59 2011 +0000

description:
82579 support.

diffstat:

 sys/dev/mii/ihphy.c      |  6 ++++--
 sys/dev/mii/inbmphyreg.h |  5 ++++-
 2 files changed, 8 insertions(+), 3 deletions(-)

diffs (46 lines):

diff -r 60ba7a90f2c3 -r 0bff657c31b3 sys/dev/mii/ihphy.c
--- a/sys/dev/mii/ihphy.c       Fri May 20 02:12:39 2011 +0000
+++ b/sys/dev/mii/ihphy.c       Fri May 20 06:06:59 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ihphy.c,v 1.1 2010/11/27 20:15:27 christos Exp $       */
+/*     $NetBSD: ihphy.c,v 1.2 2011/05/20 06:06:59 msaitoh Exp $        */
 
 /*-
  * Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ihphy.c,v 1.1 2010/11/27 20:15:27 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ihphy.c,v 1.2 2011/05/20 06:06:59 msaitoh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -96,6 +96,8 @@
 static const struct mii_phydesc ihphys[] = {
        { MII_OUI_INTEL,                MII_MODEL_INTEL_I82577,
          MII_STR_INTEL_I82577 },
+       { MII_OUI_INTEL,                MII_MODEL_INTEL_I82579,
+         MII_STR_INTEL_I82579 },
 
        { 0,                            0,
          NULL },
diff -r 60ba7a90f2c3 -r 0bff657c31b3 sys/dev/mii/inbmphyreg.h
--- a/sys/dev/mii/inbmphyreg.h  Fri May 20 02:12:39 2011 +0000
+++ b/sys/dev/mii/inbmphyreg.h  Fri May 20 06:06:59 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: inbmphyreg.h,v 1.2 2010/03/07 11:07:01 msaitoh Exp $   */
+/*     $NetBSD: inbmphyreg.h,v 1.3 2011/05/20 06:06:59 msaitoh Exp $   */
 /*******************************************************************************
 Copyright (c) 2001-2005, Intel Corporation 
 All rights reserved.
@@ -92,6 +92,9 @@
 #define HV_INTC_FC_PAGE_START  768
 #define        BM_PORT_CTRL_PAGE       769
 
+#define        HV_KMRN_MODE_CTRL       BME1000_REG(BM_PORT_CTRL_PAGE, 16)
+#define        HV_KMRN_MDIO_SLOW       0x0400
+
 #define        IGP3_KMRN_DIAG          BME1000_REG(770, 19)
 #define        IGP3_KMRN_DIAG_PCS_LOCK_LOSS    (1 << 1)
 



Home | Main Index | Thread Index | Old Index