cvs commit: src/sys/dev/dc if_dc.c if_dcreg.h

Marius Strobl marius at FreeBSD.org
Tue Dec 5 17:56:39 PST 2006


marius      2006-12-06 01:56:38 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/dc           if_dc.c if_dcreg.h 
  Log:
  - Use our own callout (the dc_tick() callout uses varying periods
    depending on the NIC and isn't used at all with HomePNA links)
    instead of if_slowtimo() for driving dc_watchdog() in order to
    avoid races accessing if_timer.
  - Use bus_get_dma_tag() so dc(4) works on platforms requiring it.
  - Don't bother to set if_mtu to ETHERMTU, ether_ifattach() does that.
  - Remove an alpha remnant in dc_softc.
  
  Revision  Changes    Path
  1.189     +33 -24    src/sys/dev/dc/if_dc.c
  1.53      +2 -3      src/sys/dev/dc/if_dcreg.h


More information about the cvs-src mailing list