Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Add WMPHY_I350. Not used yet.
details: https://anonhg.NetBSD.org/src/rev/fe2686c2f722
branches: trunk
changeset: 945411:fe2686c2f722
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Fri Oct 30 06:29:47 2020 +0000
description:
Add WMPHY_I350. Not used yet.
diffstat:
sys/dev/pci/if_wm.c | 9 ++++++---
sys/dev/pci/if_wmvar.h | 7 ++++---
2 files changed, 10 insertions(+), 6 deletions(-)
diffs (53 lines):
diff -r 06ed15a30dc2 -r fe2686c2f722 sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c Fri Oct 30 06:23:39 2020 +0000
+++ b/sys/dev/pci/if_wm.c Fri Oct 30 06:29:47 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_wm.c,v 1.693 2020/10/30 06:23:39 msaitoh Exp $ */
+/* $NetBSD: if_wm.c,v 1.694 2020/10/30 06:29:47 msaitoh Exp $ */
/*
* Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -82,7 +82,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.693 2020/10/30 06:23:39 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.694 2020/10/30 06:29:47 msaitoh Exp $");
#ifdef _KERNEL_OPT
#include "opt_net_mpsafe.h"
@@ -10267,8 +10267,11 @@
new_phytype = WMPHY_I217;
break;
case MII_MODEL_INTEL_I82580:
+ new_phytype = WMPHY_82580;
+ break;
case MII_MODEL_INTEL_I350:
- new_phytype = WMPHY_82580;
+ new_phytype = WMPHY_I350;
+ break;
break;
default:
break;
diff -r 06ed15a30dc2 -r fe2686c2f722 sys/dev/pci/if_wmvar.h
--- a/sys/dev/pci/if_wmvar.h Fri Oct 30 06:23:39 2020 +0000
+++ b/sys/dev/pci/if_wmvar.h Fri Oct 30 06:29:47 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_wmvar.h,v 1.46 2020/09/15 08:39:04 msaitoh Exp $ */
+/* $NetBSD: if_wmvar.h,v 1.47 2020/10/30 06:29:47 msaitoh Exp $ */
/*
* Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -198,9 +198,10 @@
WMPHY_BM, /* 82567: ICH8 ICH9 ICH10 */
WMPHY_82578, /* 82578: PCH */
WMPHY_82577, /* 82577: PCH (NOTE: functionality newer than 82578) */
- WMPHY_82579, /* 82579 : PCH2 */
+ WMPHY_82579, /* 82579: PCH2 */
WMPHY_I217, /* I217: _LPT, I218: _LPT, I219: _SPT _CNP */
- WMPHY_82580, /* 82580: 82580 or I350 */
+ WMPHY_82580, /* 82580 */
+ WMPHY_I350, /* I350 */
WMPHY_VF,
WMPHY_I210 /* I210: I210 I211 */
} wm_phy_type;
Home |
Main Index |
Thread Index |
Old Index