]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide-floppy: merge idefloppy_{input,output}_buffers
authorBorislav Petkov <bbpetkov@yahoo.de>
Sat, 2 Feb 2008 18:56:36 +0000 (19:56 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 2 Feb 2008 18:56:36 +0000 (19:56 +0100)
commit32925e1a16d7bdb4b56b4194b7c48f687538d330
tree21df97bc4295aab638bcb4dc6cade152f9280dc2
parent0eea6458c04a1cbb2e8e5c2cdbef736d882d200c
ide-floppy: merge idefloppy_{input,output}_buffers

We merge idefloppy_{input,output}_buffers() into idefloppy_io_buffers() by
introducing a 4th arg. called direction. According to its value
we atapi_input_bytes() or atapi_output_bytes(). Also, this simplifies the
interrupt handler logic a bit. Finally, rename idefloppy_io_buffers() to
ide_floppy_io_buffers().

Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-floppy.c