freebsd-nq/sys/sparc64
Hartmut Brandt e557905435 Fix a problem in bus_dmamap_load_{mbuf,uio} when the first mbuf or the first
uio segment is empty. In this case no dma segment is create by
bus_dmamap_load_buffer, but the calling routine clears the first flag.
Under certain combinations of addresses of the first and second mbuf/uio
buffer this leads to corrupted DMA segment descriptors. This was already
fixed by tmm in sparc64/sparc64/iommu.c.

PR:		kern/47733
Reviewed by:	sam
Approved by:	jake (mentor)
2003-02-04 16:30:27 +00:00
..
compile
conf Put replace spaces with tabs in keeping with the rest of the file. 2003-02-01 18:45:18 +00:00
ebus Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
include Fix another mistake in the bus_dmamem_alloc_size() thing 2003-01-29 20:36:08 +00:00
isa
pci Fix some more missing dt_ prefixes for dma tag fields. 2003-01-29 17:41:29 +00:00
sbus Fix some more missing dt_ prefixes for dma tag fields. 2003-01-29 17:41:29 +00:00
sparc64 Fix a problem in bus_dmamap_load_{mbuf,uio} when the first mbuf or the first 2003-02-04 16:30:27 +00:00