DragonFly commits List (threaded) for 2009-02
DragonFly BSD
DragonFly commits List (threaded) for 2009-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 17 Feb 2009 03:32:32 -0800 (PST)

commit 9513d9d233018398b0a02b957a8af8c52786850f
Author: Sepherosa Ziehau <sephe@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]