• Borislav Petkov's avatar
    ide-floppy: merge callbacks · 81f49382
    Borislav Petkov authored
    The appropriate functionality of the callback is established through querying
    the ATAPI packet command in pc->c[0].
    
    While at it, simplify if (floppy->failed_pc)-branch to be found in the original
    idefloppy_request_sense_callback().
    
    Bart:
    - keep handling for blk_pc_request() requests unchanged + add FIXME
    - add uptodate variable + leave just one idefloppy_end_request() call
    - add newline to the debug message
    Signed-off-by: default avatarBorislav Petkov <petkovbb@gmail.com>
    Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    81f49382
ide-floppy.c 43.2 KB