Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jun 2009 20:56:06 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/cas if_cas.c if_casvar.h
Message-ID:  <200906242056.n5OKuREp065938@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marius      2009-06-24 20:56:06 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/cas          if_cas.c if_casvar.h 
  Log:
  SVN rev 194904 on 2009-06-24 20:56:06Z by marius
  
  - Change this driver to do taskqueue(9) based TX and interrupt
    handling in order to reduce interrupt overhead which results in
    better performance.
  - Call ether_ifdetach(9) before stopping the controller and the
    callouts detach in order to prevent active BPF listeners to clear
    promiscuous mode which may lead to the tick callout being restarted
    which will trigger a panic once it's actually gone.
  - Add explicit IFF_DRV_RUNNING checking in order to prevent extra
    link up/down events when using dhclient(8).
  - Use the correct macro for deciding whether 2/3 of the available TX
    descriptors are used.
  - Wrap the RX fault printing in #ifdef CAS_DEBUG in order to not
    unnecessarily frighten users and as debugging was the actual
    intention. Real errors caused by these faults still will be
    accumulated as input errors. It might be a good idea to later on
    add driver specific counters for the faults though.
  
  Submitted by:   yongari (original patch)
  
  Revision  Changes    Path
  1.2       +133 -57   src/sys/dev/cas/if_cas.c
  1.2       +3 -0      src/sys/dev/cas/if_casvar.h



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