cvs commit: src/sys/i386/i386 busdma_machdep.c src/sys/amd64/amd64 busdma_machdep.c

Matt Jacob mjacob at FreeBSD.org
Tue May 30 17:39:26 PDT 2006


mjacob      2006-05-31 00:37:56 UTC

  FreeBSD src repository

  Modified files:
    sys/i386/i386        busdma_machdep.c 
    sys/amd64/amd64      busdma_machdep.c 
  Log:
  Turn the panic on not being able to meet alignment constraints
  in bus_dmamem_alloc into the more reasonable EINVAL return.
  
  Also, reclaim memory allocated but then not used if we had
  an error return.
  
  Revision  Changes    Path
  1.76      +22 -4     src/sys/amd64/amd64/busdma_machdep.c
  1.79      +22 -4     src/sys/i386/i386/busdma_machdep.c


More information about the cvs-src mailing list