diff options
author | ian <ian@FreeBSD.org> | 2015-01-11 21:27:46 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2015-01-11 21:27:46 +0000 |
commit | fa39733c3f9bce33791ea3d76edf864a9d03229e (patch) | |
tree | b6b97f141b116adf14ce29e0e44a4924cc7d25a8 /lib/libc/sys/interposing_table.c | |
parent | 3dadde38236c8d1c3515accb0f46af07669139e3 (diff) | |
download | FreeBSD-src-fa39733c3f9bce33791ea3d76edf864a9d03229e.zip FreeBSD-src-fa39733c3f9bce33791ea3d76edf864a9d03229e.tar.gz |
Check for and handle failures of bus_dmamap_load(). The driver currently
requires that each 512 byte IO be in a single contiguous buffer, but if a
buffer crosses a page boundary and the physical pages aren't contiguous
you can get an EFBIG failure (too many segments).
The driver really should handle multiple segment IO, but before adding that
I wanted to make sure that it's handling failure properly while the failure
is easily recreatable.
Diffstat (limited to 'lib/libc/sys/interposing_table.c')
0 files changed, 0 insertions, 0 deletions