Current-Users archive

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

Re: rootfs on fxp remains broken for i386



ishii%cool.email.ne.jp@localhost wrote:

> Unfortunately my fxp still doesn't work.
> 
> fxp0 at pci1 dev 8 function 0: Intel PRO/100 VM Network Controller with 
> 82562EM/EX PHY, rev 129
> fxp0: interrupting at irq 5
> fxp0: Ethernet address 00:0b:cd:3c:7c:ed
> inphy0 at fxp0 phy 1: i82562EM 10/100 media interface, rev. 0
> 
> Just replace src/dev/pci/if_fxp_pci.c to 1.60 works fine.

According to FreeBSD driver, only 82550/82551 supports
EXT_RFA and IPCB, and newer ICH chip variants don't support them
(though they have other rxcsum hardware we don't support).

How about this patch?

Index: if_fxp_pci.c
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/if_fxp_pci.c,v
retrieving revision 1.63
diff -u -r1.63 if_fxp_pci.c
--- if_fxp_pci.c        3 Mar 2009 06:06:40 -0000       1.63
+++ if_fxp_pci.c        5 Mar 2009 08:49:39 -0000
@@ -382,8 +382,6 @@
                aprint_normal(": %s, rev %d\n", fpp->fpp_name, sc->sc_rev);
                if (sc->sc_rev >= FXP_REV_82558_A4)
                        sc->sc_flags |= FXPF_FC|FXPF_EXT_TXCB;
-               if (sc->sc_rev >= FXP_REV_82550)
-                       sc->sc_flags |= FXPF_EXT_RFA;
 
                break;
        }

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index