cvs commit: src/sys/alpha/alpha busdma_machdep.c

Marcel Moolenaar marcel at FreeBSD.org
Wed May 25 07:25:13 GMT 2005


marcel      2005-05-25 07:25:12 UTC

  FreeBSD src repository

  Modified files:
    sys/alpha/alpha      busdma_machdep.c 
  Log:
  For ISA DMA maps, the chipsets scatter/gather feature is used. As
  such, the segments pointer in the DMA tag will always be NULL. In
  bus_dmamap_load(), temporarily point the segments pointer in the
  DMA tag to a local variable so that we don't dereference a NULL
  pointer. Reset the segments pointer to NULL after calling the
  callback function with it.
  
  PR: alpha/30486
  MFC after: 1 week
  
  Revision  Changes    Path
  1.51      +3 -0      src/sys/alpha/alpha/busdma_machdep.c


More information about the cvs-src mailing list