ide-tape: fix READ POSITION cmd handling
authorBorislav Petkov <petkovbb@gmail.com>
Mon, 4 May 2009 07:38:15 +0000 (09:38 +0200)
committerBorislav Petkov <petkovbb@gmail.com>
Fri, 15 May 2009 04:44:35 +0000 (06:44 +0200)
commit55ce3a129ea2e8faba4a11bb5dbc305590d1c20c
tree78e0011fd9a404d959391073f5d56c57145a1006
parent837272b4f9393df40d16cc2ac731221027048ba6
ide-tape: fix READ POSITION cmd handling

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: Borislav Petkov <petkovbb@gmail.com>
drivers/ide/ide-tape.c
This page took 0.023959 seconds and 5 git commands to generate.