Changeset 270 for freebsd-mos-driver/if_mos.c
- Timestamp:
- Feb 6, 2011, 11:36:01 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
freebsd-mos-driver/if_mos.c
r269 r270 605 605 } else { 606 606 rxmode &= ~MOS_CTL_ALLMULTI; 607 ifp->if_flags &= ~IFF_ALLMULTI;608 607 mos_write_mcast(sc, (void *)&hashtbl); 609 608 mos_reg_write_1(sc, MOS_CTL, rxmode); … … 831 830 } 832 831 832 /* Remember the last byte was used for the status fields */ 833 pktlen = actlen - 1; 833 834 if ( pktlen < sizeof(struct ether_header) ) { 834 835 DPRINTF("mos: pktlen %i is smaller than ether_header %i\n", pktlen, sizeof(struct ether_header)); … … 1024 1025 mos_setmulti(ue); 1025 1026 1026 ifp->if_ flags |= IFF_DRV_RUNNING;1027 ifp->if_drv_flags |= IFF_DRV_RUNNING; 1027 1028 mos_start(ue); 1028 1029 } … … 1083 1084 1084 1085 MOS_LOCK_ASSERT(sc, MA_OWNED); 1085 ifp->if_ flags &= ~IFF_DRV_RUNNING;1086 ifp->if_drv_flags &= ~IFF_DRV_RUNNING; 1086 1087 1087 1088 /*
Note:
See TracChangeset
for help on using the changeset viewer.