DragonFly-2.1.1.417.g969f master sys/bus/cam cam_periph.c cam_periph.h

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Jan 16 13:01:45 PST 2009


commit 969f6a6d4b24cc47c9e5b39963806b6834b82686
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Jan 16 12:57:44 2009 -0800

    Add code similar to what was done in physio to use a bounce buffer
    if user data supplied to the CAM pass-throug device is not 16-byte aligned.
    The user data was previously unconditionally vmapbuf()'d and the unaligned
    pointer passed through to the device layer, causing NATA to barf badly on
    SATA devices.
    
    This fixes numerous dvd burning issues on SATA-based DVD burners.
    
    Reported-by: Hasso Tepper <hasso at estpak.ee>

Summary of changes:
 sys/bus/cam/cam_periph.c |  103 ++++++++++++++++++++++++++++++++++------------
 sys/bus/cam/cam_periph.h |    2 +
 2 files changed, 79 insertions(+), 26 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/969f6a6d4b24cc47c9e5b39963806b6834b82686


-- 
DragonFly BSD source repository





More information about the Commits mailing list