diff options
author | marcel <marcel@FreeBSD.org> | 2005-05-25 07:25:12 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2005-05-25 07:25:12 +0000 |
commit | 0c6200206d28df858ffb208250acfd857664d00e (patch) | |
tree | 4b05b9e3169820bc2542e5feb5e89700b41f69ed /sbin/Makefile | |
parent | 4bb31d78c73ca6ce48640d22c1b16d053b5cad2c (diff) | |
download | FreeBSD-src-0c6200206d28df858ffb208250acfd857664d00e.zip FreeBSD-src-0c6200206d28df858ffb208250acfd857664d00e.tar.gz |
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
Diffstat (limited to 'sbin/Makefile')
0 files changed, 0 insertions, 0 deletions