Subject: port-i386/32494: Intel PRO/100 VE (LOM) not detected on Sony Vaio
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <cdi@netbsd.org>
List: netbsd-bugs
Date: 01/10/2006 20:25:01
>Number: 32494
>Category: port-i386
>Synopsis: Intel PRO/100 VE (LOM) not detected on Sony Vaio
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: port-i386-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 10 20:25:00 +0000 2006
>Originator: Dennis Chernoivanov
>Release: NetBSD 3.99.15
>Environment:
NetBSD 3.99.15 (FALCON) #0: Mon Jan 9 19:52:23 MSK 2006
cdi@:/home/cdi/src/netbsd/cur/sys/arch/i386/compile/FALCON
System: NetBSD babylon5.netbsd.org 3.0 NetBSD 3.0 (NBFTP) #1: Tue Dec 27 07:15:13 UTC 2005 root@ADMIN:/usr/obj/sys/arch/i386/compile.i386/NBFTP i386
Architecture: i386
Machine: i386
>Description:
I tried to install -current on a Sony Vaio S4HRP laptop and found it cannot
detect onboard ethernet adapter. The latter, with PCI product id of 0x1068, is
reported to be Intel PRO/100 VE by Windows. Linux kernel does not seem to
handle this card differently to other PRO/100 clones so I made a trivial patch
(attached) which works fine for me.
>How-To-Repeat:
Build the kernel and boot it on Sony Vaio S4HRP.
>Fix:
Index: if_fxp_pci.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/if_fxp_pci.c,v
retrieving revision 1.43
diff -u -r1.43 if_fxp_pci.c
--- if_fxp_pci.c 11 Dec 2005 12:22:49 -0000 1.43
+++ if_fxp_pci.c 9 Jan 2006 16:50:07 -0000
@@ -130,6 +130,8 @@
"Intel PRO/100 VE Network Controller with 82562ET/EZ (CNR) PHY" },
{ PCI_PRODUCT_INTEL_PRO_100_VE_4,
"Intel PRO/100 VE (MOB) Network Controller" },
+ { PCI_PRODUCT_INTEL_PRO_100_VE_5,
+ "Intel PRO/100 VE (LOM) Network Controller" },
{ PCI_PRODUCT_INTEL_PRO_100_VM_0,
"Intel PRO/100 VM Network Controller" },
{ PCI_PRODUCT_INTEL_PRO_100_VM_1,
@@ -401,6 +403,7 @@
case PCI_PRODUCT_INTEL_PRO_100_VE_2:
case PCI_PRODUCT_INTEL_PRO_100_VE_3:
case PCI_PRODUCT_INTEL_PRO_100_VE_4:
+ case PCI_PRODUCT_INTEL_PRO_100_VE_5:
case PCI_PRODUCT_INTEL_PRO_100_VM_3:
case PCI_PRODUCT_INTEL_PRO_100_VM_4:
case PCI_PRODUCT_INTEL_PRO_100_VM_5:
Index: pcidevs.h
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/pcidevs.h,v
retrieving revision 1.756
diff -u -r1.756 pcidevs.h
--- pcidevs.h 2 Jan 2006 23:12:50 -0000 1.756
+++ pcidevs.h 9 Jan 2006 16:50:18 -0000
@@ -1735,6 +1735,7 @@
#define PCI_PRODUCT_INTEL_82801EB_LAN 0x1051 /* 82801EB/ER 10/100 Ethernet */
#define PCI_PRODUCT_INTEL_PRO_100_M 0x1059 /* PRO/100 M Network Controller */
#define PCI_PRODUCT_INTEL_82801FB_LAN 0x1064 /* 82801FB 10/100 Ethernet */
+#define PCI_PRODUCT_INTEL_PRO_100_VE_5 0x1068 /* PRO/100 VE (LOM) Network Controller */
#define PCI_PRODUCT_INTEL_82547GI 0x1075 /* i82547GI Gigabit Ethernet */
#define PCI_PRODUCT_INTEL_82541GI 0x1076 /* i82541GI Gigabit Ethernet */
#define PCI_PRODUCT_INTEL_82541GI_MOBILE 0x1077 /* i82541GI Mobile Gigabit Ethernet */
Index: pcidevs_data.h
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/pcidevs_data.h,v
retrieving revision 1.755
diff -u -r1.755 pcidevs_data.h
--- pcidevs_data.h 2 Jan 2006 23:12:50 -0000 1.755
+++ pcidevs_data.h 9 Jan 2006 16:50:28 -0000
@@ -5836,6 +5836,10 @@
"82801FB 10/100 Ethernet",
},
{
+ PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_PRO_100_VE_5,
+ "PRO/100 VE (LOM) Network Controller",
+ },
+ {
PCI_VENDOR_INTEL, PCI_PRODUCT_INTEL_82547GI,
"i82547GI Gigabit Ethernet",
},