Messages in this thread | | | Subject | [PATCH 0/8] ide-cd: first conversion batch | Date | Thu, 18 Dec 2008 08:40:44 +0100 | From | Borislav Petkov <> |
| |
Hi Bart,
here's the first batch of conversion patches. Now ide_issue_pc/ide_transfer_pc are almost completely aligned to their ide-cd counterparts cdrom_start_packet_command/cdrom_transfer_packet_command. The only thing missing is the setting of the irq handler through ide_set_handler but this is not that trivial since if i'd moved ide-cd's irq handler to ide-atapi that would suck in a bunch of other ide-cd functions which is not what we want, (yes/no)? and I'm going to have to ponder a little bit more on that.
Those have been lightly tested with ide-cd and ide-floppy.
drivers/ide/ide-atapi.c | 115 ++++++++++++++++---------------------------- drivers/ide/ide-cd.c | 121 ++++++++++++++++++++++++++++------------------ drivers/ide/ide-floppy.c | 2 +- drivers/ide/ide-tape.c | 2 +- include/linux/ide.h | 2 +- 5 files changed, 117 insertions(+), 125 deletions(-)
| |