• Guennadi Liakhovetski's avatar
    [PATCH] tmscsim: 64-bit cleanup · 65ccf7f1
    Guennadi Liakhovetski authored
    Ok, here comes the first one. I chose this one because it fixes an actual
    bug in the driver. This bug was (partially) introduced by myself when
    porting to 2.6. Partly the reason was that I disliked using
    function-like macros as lvalues:
    
    sg_dma_address(x) = ...
    sg_dma_len(x) = ...
    
    [OT] wouldn't it be better to introduce some macros like
    set_sg_dma_{address|len}(x, y)?
    
    A part of the original patch has already been merged (s/UINT/ULONG/), so,
    the actual version is re-diffed against 2.6.6-bk6 and re-tested (on a
    plain Pentium).
    
    Also updates the driver-version, printed on startup.
    65ccf7f1
tmscsim.c 89 KB