Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci - 82578DC is not PCH2 but PCH. 82579V is not PCH...
details: https://anonhg.NetBSD.org/src/rev/b393ff14af55
branches: trunk
changeset: 783242:b393ff14af55
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Wed Dec 12 09:20:35 2012 +0000
description:
- 82578DC is not PCH2 but PCH. 82579V is not PCH but PCH2. This bug was
introduced in rev. 1.221. Reported by FUKAUMI Naoki.
- Fix comment.
diffstat:
sys/dev/pci/if_wm.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (43 lines):
diff -r 59d928c9a5f3 -r b393ff14af55 sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c Wed Dec 12 06:24:01 2012 +0000
+++ b/sys/dev/pci/if_wm.c Wed Dec 12 09:20:35 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_wm.c,v 1.238 2012/11/15 06:14:54 msaitoh Exp $ */
+/* $NetBSD: if_wm.c,v 1.239 2012/12/12 09:20:35 msaitoh Exp $ */
/*
* Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -76,7 +76,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.238 2012/11/15 06:14:54 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.239 2012/12/12 09:20:35 msaitoh Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -931,13 +931,13 @@
WM_T_PCH, WMP_F_1000T },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_PCH_D_DC,
"PCH LAN (82578DC) Controller",
- WM_T_PCH2, WMP_F_1000T },
+ WM_T_PCH, WMP_F_1000T },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_PCH2_LV_LM,
"PCH2 LAN (82579LM) Controller",
WM_T_PCH2, WMP_F_1000T },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_PCH2_LV_V,
"PCH2 LAN (82579V) Controller",
- WM_T_PCH, WMP_F_1000T },
+ WM_T_PCH2, WMP_F_1000T },
{ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82575EB_COPPER,
"82575EB dual-1000baseT Ethernet",
WM_T_82575, WMP_F_1000T },
@@ -4126,7 +4126,7 @@
if (wm_check_reset_block(sc) == 0) {
/*
* Gate automatic PHY configuration by hardware on
- * manaed 82579
+ * non-managed 82579
*/
if ((sc->sc_type == WM_T_PCH2)
&& ((CSR_READ(sc, WMREG_FWSM) & FWSM_FW_VALID)
Home |
Main Index |
Thread Index |
Old Index