]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide-floppy: merge callbacks
authorBorislav Petkov <petkovbb@gmail.com>
Tue, 15 Jul 2008 19:21:56 +0000 (21:21 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 15 Jul 2008 19:21:56 +0000 (21:21 +0200)
commit81f4938239fea86d0a7529194a37fb81041171e0
tree253aba635bc99792cc6e3e4c09426ab2489e15ff
parent92f5daff2b8439fa4c57c57f47823ffc459c3bd9
ide-floppy: merge callbacks

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: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-floppy.c