Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jun 2011 16:16:43 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/gem if_gem.c if_gemvar.h
Message-ID:  <201106281616.p5SGGpgW058784@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marius      2011-06-28 16:16:43 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/gem          if_gem.c if_gemvar.h 
  Log:
  SVN rev 223648 on 2011-06-28 16:16:43Z by marius
  
  - In gem_reset_rx() also reset the RX MAC which is necessary in order to
    get it out of a stuck condition that can be caused by GEM_MAC_RX_OVERFLOW.
  - In gem_reset_rxdma() call gem_setladrf() in order to reprogram the RX
    filter and restore the previous content of GEM_MAC_RX_CONFIG. While at it
    consistently use the newly introduced sc_mac_rxcfg throughout the driver
    instead of reading the its old content.
  - Increment if_iqdrops instead of if_ierrors in case of RX buffer allocation
    failure.
  - According to the GEM datasheet the RX MAC should also be disabled in
    gem_setladrf() before changing its configuration.
  - Add error messages to gem_disable_{r,t}x() and take advantage of these
    throughout the driver instead of duplicating their functionality all over
    the place.
  
  In joint forces with:   yongari
  
  Revision  Changes    Path
  1.62      +53 -48    src/sys/dev/gem/if_gem.c
  1.21      +2 -0      src/sys/dev/gem/if_gemvar.h



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