Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jun 2009 06:06:43 +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:  <200906210606.n5L66vPB046176@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
yongari     2009-06-21 06:06:43 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/fxp          if_fxp.c if_fxpvar.h 
  Log:
  SVN rev 194569 on 2009-06-21 06:06:43Z by yongari
  
  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.289     +71 -43    src/sys/dev/fxp/if_fxp.c
  1.46      +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?200906210606.n5L66vPB046176>