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

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Mon Jul 2 01:48:56 PDT 2012


commit e0b35c1fa14e0f1ba0d18b346ebd12f26aeec3a8
Author: Sepherosa Ziehau <sephe at 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





More information about the Commits mailing list