]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide-floppy: use scatterlists for pio transfers
authorBorislav Petkov <petkovbb@gmail.com>
Fri, 10 Oct 2008 20:39:35 +0000 (22:39 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 10 Oct 2008 20:39:35 +0000 (22:39 +0200)
commitb98b3409abb697321d1b53e3e96a14243fe9fc79
treef38038b4280c48222c50af92e23afa77d68c56e3
parentf025ffdcc3450ae66c9d5df368d97f07e7fcf489
ide-floppy: use scatterlists for pio transfers

Use hwif->sg_table for pio transfers instead of fumbling
with block layer internals in the driver. Also, make debug
statements more informative in .._do_request() while at it.

Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
[bart: fixup pc->b_count in idefloppy_blockpc_cmd()]
[bart: add missing include (noticed by Stephen Rothwell)]
[bart: map hwif->sg_{table,nents} on pc->{sg,sg_cnt} (multi-IRQs-per-sg fix)]
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-floppy.c