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



The following reply was made to PR kern/42068; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
        netbsd-bugs%netbsd.org@localhost
Subject: Re: kern/42068: fxp address adding or removing causes link changes
Date: Tue, 15 Sep 2009 18:35:44 +0200

 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