Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jul 2003 22:34:20 -0700 (PDT)
From:      Scott Long <scottl@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/i386/i386 busdma_machdep.c
Message-ID:  <200307310534.h6V5YK4B017415@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
scottl      2003/07/30 22:34:20 PDT

  FreeBSD src repository

  Modified files:
    sys/i386/i386        busdma_machdep.c 
  Log:
  Allocate the S/G list in the tag, not on the stack.  The enforces the rule
  that while many maps can exist and be loaded per tag, bus_dmamap_load() and
  friends can only be called on one map at a time from the tag.  This is
  enforced via the mutex arguments in the tag.
  
  Fixing this bug means that s/g lists can be arbitrarily long in length, and
  also removes an ugly GNU-ism from the code.  No API or ABI change is
  incurred.  Similar changes for other platforms is forthcoming.
  
  Revision  Changes    Path
  1.53      +32 -27    src/sys/i386/i386/busdma_machdep.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307310534.h6V5YK4B017415>