summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2003-04-07 16:08:32 +0000
committerjake <jake@FreeBSD.org>2003-04-07 16:08:32 +0000
commiteff9d3d98df90c348751cebe8fd1aeaa8714e244 (patch)
treede9ddc6841b40fb4188b340af5d724e37c312c14 /include
parentc0491eef73118fd28a96d93c2de945e411ce1449 (diff)
downloadFreeBSD-src-eff9d3d98df90c348751cebe8fd1aeaa8714e244.zip
FreeBSD-src-eff9d3d98df90c348751cebe8fd1aeaa8714e244.tar.gz
Add support for bounce buffers to _bus_dmamap_load_buffer, which is the
backend for bus_dmamap_load_mbuf and bus_dmamap_load_uio. - Increaes MAX_BPAGES to 512. Less than this causes fxp to quickly runs out of bounce pages. - Add an argument to reserve_bounce_pages indicating wether this operation should fail or be queued for later processing if we run out of memory. The EINPROGRESS return value is not handled properly by consumers of bus_dmamap_load_mbuf. - If bounce buffers are required allocate minimum 1 bounce page at map creation time. If maxsize was small previously this could get truncated to 0 and the drivers would quickly run out of bounce pages. - Fix a bug handling the return value of alloc_bounce_pages at map creation time. It returns the number of pages allocated, not 0 on success. - Use bus_addr_t for physical addresses to avoid truncation. - Assert that the map is non-null and not the no bounce map in add_bounce_pages. Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud