cvs commit: src/sys/pci if_de.c if_devar.h
jhb at FreeBSD.org
Mon Nov 21 21:50:08 GMT 2005
jhb 2005-11-21 21:50:07 UTC
FreeBSD src repository
sys/pci if_de.c if_devar.h
Various fixes to make de(4) not panic after ru@'s IF_LLADDR() changes:
- Don't call tulip_addr_filter() to reset the RX address filter in
tulip_reset() since that gets called before ether_ifattach(). Just
call it in tulip_init_locked().
- Use be16dec() and le16dec() to parse MAC addresses when programming
the RX filter.
- Let ether_ioctl() handle SIOCSIFMTU since we were doing the exact same
thing with the added bonus that we leaked the driver lock if the MTU
was > ETHERMTU in the homerolled version. This part will be MFC'd.
Clue from: wpaul (1)
Stolen from: marcel (2 via patch for dc(4))
MFC after: 1 week
Revision Changes Path
1.175 +20 -28 src/sys/pci/if_de.c
1.40 +2 -2 src/sys/pci/if_devar.h
More information about the cvs-src