NetBSD-Bugs archive

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

Re: kern/42068: fxp address adding or removing causes link changes



On Tue, Sep 15, 2009 at 04:25:00PM +0000, 
elentirmo.gilgalad%gmail.com@localhost wrote:
> Probably the fxp driver needs to be checked and corrected.

Can you please add a printf to the ioctl code in src/sys/dev/ic/i82557.c
line 221 (at least in -current, maybe slightly offset in netbsd-5) and
see if it hits the fxp_init() in this block:

                if (cmd != SIOCADDMULTI && cmd != SIOCDELMULTI)
                        ;
                else if (ifp->if_flags & IFF_RUNNING) {
                        /*
                         * Multicast list has changed; set the
                         * hardware filter accordingly.
                         */
                        while (sc->sc_txpending) {
                                sc->sc_flags |= FXPF_WANTINIT;
                                tsleep(sc, PSOCK, "fxp_init", 0);
                        }
                        error = fxp_init(ifp);
                }
                break;

?


Thanks,

Martin


Home | Main Index | Thread Index | Old Index