DragonFly-2.3.0.110.geda6a master sys/platform/pc32/i386 busdma_machdep.c
Sepherosa Ziehau
sephe at crater.dragonflybsd.org
Tue Feb 17 03:33:49 PST 2009
commit eda6a7473be7c8bac7d515b1a83e234f1a900452
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date: Sat Jan 17 10:14:38 2009 +0800
Bounce page fixes
- Free accumulated bounce pages in the bus dma map if we could not
reserved enough bounce pages.
- In bus_dmamap_load_mbuf(), if _bus_dmamap_load_buffer() returns
ENOMEM on non-first mbuf fragment, we adjust the error to EFBIG:
o There is at least one bounce page available, so we could expect
that after mbuf defragmentation, enough bounce pages (normally
one bounce page for non-jumbo frame) may be available.
o Most callers defragment the mbuf chain only if error is EFBIG.
Summary of changes:
sys/platform/pc32/i386/busdma_machdep.c | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/eda6a7473be7c8bac7d515b1a83e234f1a900452
--
DragonFly BSD source repository
More information about the Commits
mailing list