Module Name: src
Committed By: msaitoh
Date: Fri May 20 06:06:59 UTC 2011
Modified Files:
src/sys/dev/mii: ihphy.c inbmphyreg.h
Log Message:
82579 support.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/mii/ihphy.c
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/mii/inbmphyreg.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/mii/ihphy.c
diff -u src/sys/dev/mii/ihphy.c:1.1 src/sys/dev/mii/ihphy.c:1.2
--- src/sys/dev/mii/ihphy.c:1.1 Sat Nov 27 20:15:27 2010
+++ src/sys/dev/mii/ihphy.c Fri May 20 06:06:59 2011
@@ -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 },
Index: src/sys/dev/mii/inbmphyreg.h
diff -u src/sys/dev/mii/inbmphyreg.h:1.2 src/sys/dev/mii/inbmphyreg.h:1.3
--- src/sys/dev/mii/inbmphyreg.h:1.2 Sun Mar 7 11:07:01 2010
+++ src/sys/dev/mii/inbmphyreg.h Fri May 20 06:06:59 2011
@@ -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)