cvs commit: src/sys/dev/fxp if_fxp.c if_fxpvar.h

Maxime Henrion mux at FreeBSD.org
Mon Mar 7 13:20:50 GMT 2005


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


More information about the cvs-src mailing list