Module Name: src Committed By: msaitoh Date: Wed Feb 1 07:50:03 UTC 2017
Modified Files: src/sys/dev/pci: if_wm.c Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.473 -r1.474 src/sys/dev/pci/if_wm.c 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/pci/if_wm.c diff -u src/sys/dev/pci/if_wm.c:1.473 src/sys/dev/pci/if_wm.c:1.474 --- src/sys/dev/pci/if_wm.c:1.473 Wed Feb 1 03:54:49 2017 +++ src/sys/dev/pci/if_wm.c Wed Feb 1 07:50:03 2017 @@ -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 @@ wm_gmii_mediainit(struct wm_softc *sc, p 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: