Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Nov 2009 18:07:09 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/fxp if_fxp.c if_fxpvar.h
Message-ID:  <200911041807.nA4I7NAx070666@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2009-11-04 18:07:09 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/dev/fxp          if_fxp.c if_fxpvar.h 
  Log:
  SVN rev 198913 on 2009-11-04 18:07:09Z by yongari
  
  MFC r194569:
    Introduce Rx mbuf dma tag and use it in Rx path. Previously it used
    common mbuf dma tag for both Tx and Rx path but Rx buffer should
    have single DMA segment and maximum buffer size of the segment
    should be less than MCLBYTES.
    fxp(4) also have to check Tx completion status which was updated by
    DMA so we need BUS_DMASYNC_PREREAD and BUS_DMASYNC_POSTWRITE
    synchronization in Tx path. Fix all misuse of bus_dmamap_sync(9) in
    fxp(4). I guess this change shall fix occasional driver breakage in
    PAE environments.
  
    While I'm here add error messages of dma tag/buffer creation and
    correct messages.
  
  Revision    Changes    Path
  1.266.2.17  +71 -43    src/sys/dev/fxp/if_fxp.c
  1.40.2.6    +2 -1      src/sys/dev/fxp/if_fxpvar.h



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