Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Nov 2005 21:50:07 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/pci if_de.c if_devar.h
Message-ID:  <200511212150.jALLo7qE080395@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jhb         2005-11-21 21:50:07 UTC

  FreeBSD src repository

  Modified files:
    sys/pci              if_de.c if_devar.h 
  Log:
  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200511212150.jALLo7qE080395>