Subject: kern/25002: Intel if_fxp update requested
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dogan@politics.ankara.edu.tr>
List: netbsd-bugs
Date: 04/01/2004 01:31:58
>Number: 25002
>Category: kern
>Synopsis: Newer Intel ethernet chips doesn't work (not configured).
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: kern-bug-people
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Mar 31 22:34:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.6.2_STABLE
>Organization:
>Environment:
System: NetBSD md.politics.ankara.edu.tr 1.6.2_STABLE NetBSD 1.6.2_STABLE (MuDo) #3: Wed Mar 17 23:59:47 UTC 2004 root@md.politics.ankara.edu.tr:/usr/src/sys/arch/i386/compile/MuDo i386
Architecture: i386
Machine: i386
>Description:
When installing NetBSD 1.6.2 (or one of previous version) to a computer
with Intel ethernet, which has i82562EZ chip, if_fxp doesn't work.
This is because of not recognizing card's PCI ID. Older versions of
this chip are working well. Maybe some of newer versions would be
required similar modifications.
>How-To-Repeat:
Just installing GENERIC kernel to a computer with i82562EZ based ethernet
is enough.
>Fix:
I made modification in 4 files:
/usr/src/sys/dev/pci/if_fxp_pci.c
/usr/src/sys/dev/pci/pcidevs (maybe not required)
/usr/src/sys/dev/pci/pcidevs.h
/usr/src/sys/dev/pci/pcidevs_data.h
Here is diffs:
--- /usr/src/sys/dev/pci/if_fxp_pci.c Mon Mar 29 21:40:25 2004
+++ /usr/src/sys/dev/pci/if_fxp_pci.c Sun Mar 28 13:12:03 2004
@@ -143,6 +143,8 @@
"Intel PRO/100 VM Network Controller with 82562EM/EX (CNR) PHY" },
{ PCI_PRODUCT_INTEL_PRO_100_VM_6,
"Intel PRO/100 VM Network Controller with 82562ET PHY" },
+ { PCI_PRODUCT_INTEL_PRO_100_VM_7,
+ "Intel PRO/100 VM Network Controller with 82562EZ PHY" },
{ PCI_PRODUCT_INTEL_PRO_100_M,
"Intel PRO/100 M Network Controller" },
{ 0,
@@ -381,6 +383,7 @@
case PCI_PRODUCT_INTEL_PRO_100_VM_3:
case PCI_PRODUCT_INTEL_PRO_100_VM_4:
case PCI_PRODUCT_INTEL_PRO_100_VM_6:
+ case PCI_PRODUCT_INTEL_PRO_100_VM_7:
printf(": %s, rev %d\n", fpp->fpp_name, sc->sc_rev);
/*
--- /usr/src/sys/dev/pci/pcidevs Mon Mar 29 21:40:38 2004
+++ /usr/src/sys/dev/pci/pcidevs Mon Mar 29 17:15:14 2004
@@ -1364,6 +1364,7 @@
product INTEL PRO_100_VM_5 0x103e PRO/100 VM (MOB) Network Controller
product INTEL PRO_WL_2100 0x1043 PRO/Wireless LAN 2100 3B Mini PCI Adapter
product INTEL PRO_100_VM_6 0x1050 PRO/100 VM Network Controller with 82562ET PHY
+product INTEL PRO_100_VM_7 0x1051 PRO/100 VM Network Controller with 82562EZ PHY
product INTEL PRO_100_M 0x1059 PRO/100 M Network Controller
product INTEL 82815_DC100_HUB 0x1100 82815 Hub
product INTEL 82815_DC100_AGP 0x1101 82815 AGP
--- /usr/src/sys/dev/pci/pcidevs.h Mon Mar 29 21:40:56 2004
+++ /usr/src/sys/dev/pci/pcidevs.h Sun Mar 28 12:58:19 2004
@@ -1371,6 +1371,7 @@
#define PCI_PRODUCT_INTEL_PRO_100_VM_5 0x103e /* PRO/100 VM (MOB) Network Controller */
#define PCI_PRODUCT_INTEL_PRO_WL_2100 0x1043 /* PRO/Wireless LAN 2100 3B Mini PCI Adapter */
#define PCI_PRODUCT_INTEL_PRO_100_VM_6 0x1050 /* PRO/100 VM Network Controller with 82562ET PHY */
+#define PCI_PRODUCT_INTEL_PRO_100_VM_7 0x1051 /* PRO/100 VM Network Controller with 82562EZ PHY */
#define PCI_PRODUCT_INTEL_PRO_100_M 0x1059 /* PRO/100 M Network Controller */
#define PCI_PRODUCT_INTEL_82815_DC100_HUB 0x1100 /* 82815 Hub */
#define PCI_PRODUCT_INTEL_82815_DC100_AGP 0x1101 /* 82815 AGP */
--- /usr/src/sys/dev/pci/pcidevs_data.h Mon Mar 29 21:41:07 2004
+++ /usr/src/sys/dev/pci/pcidevs_data.h Sun Mar 28 13:03:34 2004
@@ -3532,6 +3532,12 @@
"PRO/100 VM Network Controller with 82562ET PHY",
},
{
+ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_PRO_100_VM_7,
+ 0,
+ "Intel",
+ "PRO/100 VM Network Controller with 82562EZ PHY",
+ },
+ {
PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_PRO_100_M,
0,
"Intel",
>Release-Note:
>Audit-Trail:
>Unformatted: