Date: Wed, 25 May 2005 07:25:12 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha busdma_machdep.c Message-ID: <200505250725.j4P7PCYR058390@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505250725.j4P7PCYR058390>