Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jul 2011 18:32:54 +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:  <201107251833.p6PIX09u095758@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marius      2011-07-25 18:32:54 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/dev/gem          if_gem.c if_gemvar.h 
  Log:
  SVN rev 224366 on 2011-07-25 18:32:54Z by marius
  
  MFC: r223648, r223949
  
  - 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.44.2.14  +55 -51    src/sys/dev/gem/if_gem.c
  1.15.2.5   +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?201107251833.p6PIX09u095758>