Subject: kern/34261: Intel 82801FBM LAN kernel support
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <msid@daemons.gr>
List: netbsd-bugs
Date: 08/23/2006 03:20:01
>Number:         34261
>Category:       kern
>Synopsis:       Intel 82801FBM LAN kernel support
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 23 03:20:01 +0000 2006
>Originator:     Sideris Michael
>Release:        3.0
>Organization:
>Environment:
NetBSD snail 3.0.1_STABLE NetBSD 3.0.1_STABLE (GENERIC) #0: Wed Aug 23 03:00:22 EEST 2006  root@:/usr/src/sys/arch/i386/compile/GENERIC i386
>Description:
My Sony Vaio VGN-FS215S has an Intel 82801FBM ethernet controller, as reported by OpenBSD, that NetBSD does not recognize.

unpatched kernel reports:

Intel product 0x1068 (ethernet network, revision 0x03) at pci2 dev 8 function 0 not configured

patched kernel reports:

fxp0 at pci2 dev 8 function 0: Intel 82801FBM LAN, rev 3
fxp0: interrupting at irq 7
fxp0: Ethernet address 00:01:4a:5c:6a:f2
inphy0 at fxp0 phy 1: i82562ET 10/100 media interface, rev. 0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>How-To-Repeat:
Get an Intel 82801FBM ethernel controller on a NetBSD system or buy a Sony Vaio VGN-FS215S and install NetBSD on it.
>Fix:
--- sys/dev/pci/if_fxp_pci.c    2005-11-21 20:44:37.000000000 +0200
+++ if_fxp_pci.c        2006-08-23 02:38:46.000000000 +0300
@@ -150,6 +150,8 @@
          "Intel 82801EB/ER (ICH5) Network Controller" },
        { PCI_PRODUCT_INTEL_82801FB_LAN,
          "Intel 82562EZ (ICH6)" },
+       { PCI_PRODUCT_INTEL_82801FBM_LAN,
+         "Intel 82801FBM LAN" },
        { PCI_PRODUCT_INTEL_82801G_LAN,
          "Intel 82801GB/GR (ICH7) Network Controller" },
        { 0,
@@ -407,6 +409,7 @@
        case PCI_PRODUCT_INTEL_PRO_100_VM_6:
        case PCI_PRODUCT_INTEL_82801EB_LAN:
        case PCI_PRODUCT_INTEL_82801FB_LAN:
+       case PCI_PRODUCT_INTEL_82801FBM_LAN:
        case PCI_PRODUCT_INTEL_82801G_LAN:
        default:
                aprint_normal(": %s, rev %d\n", fpp->fpp_name, sc->sc_rev);

--- sys/dev/pci/pcidevs.h       2005-12-15 22:08:51.000000000 +0200
+++ pcidevs.h   2006-08-23 02:40:24.000000000 +0300
@@ -1688,6 +1688,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_82801FBM_LAN  0x1068          /* 82801FBM 10/100 Ethernet */
 #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 */