DragonFly-2.3.0.198.g9513d master sys/dev/netif/sis if_sis.c if_sisreg.h

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Tue Feb 17 03:33:50 PST 2009


commit 9513d9d233018398b0a02b957a8af8c52786850f
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Thu Jan 29 16:25:56 2009 +0800

    sis(4): Rework busdma(9) related bits
    
    - RX/TX descriptor rings need to be 4bytes aligned.
    - RX buffers need to be 4bytes aligned.
    - Create TX/RX buffer busdma map at attaching time and destroy them
      at detaching time.
    - Rework sis_newbuf() by utilizing bus_dmamap_load_mbuf_segment().
    - Factor sis_setup_rxdesc() out of sis_newbuf() and call it on RX
      error handling path.
    - Rework sis_encap() by utilizing bus_dmamap_load_mbuf_defrag().
    - Correct IFF_OACTIVE handling in sis_start()/sis_txeof().

Summary of changes:
 sys/dev/netif/sis/if_sis.c    |  700 ++++++++++++++++++++---------------------
 sys/dev/netif/sis/if_sisreg.h |   24 +-
 2 files changed, 361 insertions(+), 363 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9513d9d233018398b0a02b957a8af8c52786850f


-- 
DragonFly BSD source repository





More information about the Commits mailing list