git: bge: Add busdma constraints for old chips

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Thu Jun 28 00:01:20 PDT 2012


commit d723dbb58c011e055d64c49183f61823ec0941d1
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Thu Jun 28 13:41:15 2012 +0800

    bge: Add busdma constraints for old chips
    
    - Most pre BCM5755 controllers have a DMA bug when buffer address
      crosses a multiple of the 4GB boundary
    - For BCM5714/BCM5715 controllers, limit the DMA address to be within
      40bit address space.
    
    Obtained-from: FreeBSD 199670

Summary of changes:
 sys/dev/netif/bge/if_bge.c    |   33 +++++++++++++++++++++++++++++++--
 sys/dev/netif/bge/if_bgereg.h |   10 ++++++++++
 2 files changed, 41 insertions(+), 2 deletions(-)

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


-- 
DragonFly BSD source repository





More information about the Commits mailing list