Changeset 270 for freebsd-mos-driver


Ignore:
Timestamp:
Feb 6, 2011, 11:36:01 AM (14 years ago)
Author:
Rick van der Zwet
Message:

Cool,first packet!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd-mos-driver/if_mos.c

    r269 r270  
    605605        } else {
    606606                rxmode &= ~MOS_CTL_ALLMULTI;
    607                 ifp->if_flags &= ~IFF_ALLMULTI;
    608607                mos_write_mcast(sc, (void *)&hashtbl);
    609608                mos_reg_write_1(sc, MOS_CTL, rxmode);
     
    831830                }
    832831
     832                /* Remember the last byte was used for the status fields */
     833                pktlen = actlen - 1;
    833834                if ( pktlen < sizeof(struct ether_header) ) {
    834835                        DPRINTF("mos: pktlen %i is smaller than ether_header %i\n", pktlen, sizeof(struct ether_header));
     
    10241025        mos_setmulti(ue);
    10251026
    1026         ifp->if_flags |= IFF_DRV_RUNNING;
     1027        ifp->if_drv_flags |= IFF_DRV_RUNNING;
    10271028        mos_start(ue);
    10281029}
     
    10831084
    10841085        MOS_LOCK_ASSERT(sc, MA_OWNED);
    1085         ifp->if_flags &= ~IFF_DRV_RUNNING;
     1086        ifp->if_drv_flags &= ~IFF_DRV_RUNNING;
    10861087
    10871088        /*
Note: See TracChangeset for help on using the changeset viewer.