Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Mar 2005 13:20:49 +0000 (UTC)
From:      Maxime Henrion <mux@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/fxp if_fxp.c if_fxpvar.h
Message-ID:  <200503071320.j27DKnRj088657@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mux         2005-03-07 13:20:49 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/fxp          if_fxp.c if_fxpvar.h 
  Log:
  - Encapsulate the code responsible for initializing a new TX descriptor
    from an mbuf into the fxp_encap() function, as done in other drivers.
  - Don't waste time calling bus_dmamap_load_mbuf() if we know the mbuf
    chain is too long to fit in a TX descriptor, call m_defrag() first.
  - Convert fxp(4) to use bus_dmamap_load_mbuf_sg().
  
  Revision  Changes    Path
  1.229     +191 -193  src/sys/dev/fxp/if_fxp.c
  1.35      +1 -0      src/sys/dev/fxp/if_fxpvar.h



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