DragonFly commits List (threaded) for 2009-01
DragonFly BSD
DragonFly commits List (threaded) for 2009-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 16 Jan 2009 13:01:09 -0800 (PST)

commit 969f6a6d4b24cc47c9e5b39963806b6834b82686
Author: Matthew Dillon <dillon@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@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]