Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pci Linux and FreeBSD defines 0x10f5 as E1000_DEV_ID...



details:   https://anonhg.NetBSD.org/src/rev/ada616672d55
branches:  trunk
changeset: 821309:ada616672d55
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Feb 01 07:50:03 2017 +0000

description:
Linux and FreeBSD defines 0x10f5 as E1000_DEV_ID_ICH9_IGP_M_AMT. In reality,
This is not IGP but BM. Add new case to identify PHY type correctly on this
device. Fixes PR#51924 reported byJarle Greipsland.

 This change fix only for 0x10f5. Need more work to be the best.

diffstat:

 sys/dev/pci/if_wm.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 0fb25f95f8be -r ada616672d55 sys/dev/pci/if_wm.c
--- a/sys/dev/pci/if_wm.c       Wed Feb 01 05:46:41 2017 +0000
+++ b/sys/dev/pci/if_wm.c       Wed Feb 01 07:50:03 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_wm.c,v 1.473 2017/02/01 03:54:49 knakahara Exp $    */
+/*     $NetBSD: if_wm.c,v 1.474 2017/02/01 07:50:03 msaitoh Exp $      */
 
 /*
  * Copyright (c) 2001, 2002, 2003, 2004 Wasabi Systems, Inc.
@@ -84,7 +84,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.473 2017/02/01 03:54:49 knakahara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_wm.c,v 1.474 2017/02/01 07:50:03 msaitoh Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_net_mpsafe.h"
@@ -8671,6 +8671,7 @@
                break;
        case PCI_PRODUCT_INTEL_82801H_82567V_3:
        case PCI_PRODUCT_INTEL_82801I_BM:
+       case PCI_PRODUCT_INTEL_82801I_IGP_M_AMT: /* Not IGP but BM */
        case PCI_PRODUCT_INTEL_82801J_R_BM_LM:
        case PCI_PRODUCT_INTEL_82801J_R_BM_LF:
        case PCI_PRODUCT_INTEL_82801J_D_BM_LM:



Home | Main Index | Thread Index | Old Index