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

git: bge: Workaround "short DMA" bug on certain chips


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 2 Jul 2012 01:48:56 -0700 (PDT)

commit e0b35c1fa14e0f1ba0d18b346ebd12f26aeec3a8
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Mon Jul 2 15:45:30 2012 +0800

    bge: Workaround "short DMA" bug on certain chips
    
    If controllers receive two back-to-back send BDs with less than or equal
    to 8 total bytes then the device may hang.  The two back-to-back send
    BDs must be in the same frame for this failure to occur.
    
    Obtained-from: FreeBSD 214087

Summary of changes:
 sys/dev/netif/bge/if_bge.c    |   52 ++++++++++++++++++++++++++++++++++++++--
 sys/dev/netif/bge/if_bgereg.h |    1 +
 2 files changed, 50 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e0b35c1fa14e0f1ba0d18b346ebd12f26aeec3a8


-- 
DragonFly BSD source repository



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