• Borislav Petkov's avatar
    ide-tape: fix READ POSITION cmd handling · 55ce3a12
    Borislav Petkov authored
    ide-tape used to issue READ POSITION in several places and the
    evaluation of the returned READ POSITION data was done in the
    ->pc_callback. Convert it to use local buffer and move that
    evaluation chunk in the idetape_read_position(). Additionally, fold
    idetape_create_read_position_cmd() into it, too, thus concentrating READ
    POSITION handling in one method only and making all places call that.
    
    Finally, mv {idetape,ide_tape}_read_position.
    
    There should be no functional change resulting from this patch.
    Signed-off-by: default avatarBorislav Petkov <petkovbb@gmail.com>
    55ce3a12
ide-tape.c 55.1 KB