Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Jun 2006 04:49:29 +0000 (UTC)
From:      Mike Silbersack <silby@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 src/sys/amd64/amd64 busdma_machdep.c src/sys/ia64/ia64 busdma_machdep.c
Message-ID:  <200606010449.k514nTYC038390@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
silby       2006-06-01 04:49:29 UTC

  FreeBSD src repository

  Modified files:
    sys/i386/i386        busdma_machdep.c 
    sys/amd64/amd64      busdma_machdep.c 
    sys/ia64/ia64        busdma_machdep.c 
  Log:
  After much discussion with mjacob and scottl, change bus_dmamem_alloc so
  that it just warns the user with a printf when it misaligns a piece
  of memory that was requested through a busdma tag.
  
  Some drivers (such as mpt, and probably others) were asking for alignments
  that could not be satisfied, but as far as driver operation was concerned,
  that did not matter.  In the theory that other drivers will fall into
  this same category, we agreed that panicing or making the allocation
  fail will cause more hardship than is necessary.  The printf should
  be sufficient motivation to get the driver glitch fixed.
  
  Revision  Changes    Path
  1.77      +3 -21     src/sys/amd64/amd64/busdma_machdep.c
  1.80      +3 -21     src/sys/i386/i386/busdma_machdep.c
  1.41      +11 -33    src/sys/ia64/ia64/busdma_machdep.c



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