[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1229412969-3552-1-git-send-email-petkovbb@gmail.com>
Date: Tue, 16 Dec 2008 08:36:00 +0100
From: Borislav Petkov <petkovbb@...glemail.com>
To: <bzolnier@...il.com>
Cc: linux-kernel@...r.kernel.org, linux-ide@...r.kernel.org,
Borislav Petkov <petkovbb@...il.com>
Subject: [PATCH 0/9] ide-atapi: remove ide_atapi_pc from the irq handler
Hi Bart,
here's a first attempt at removing all references to ide_atapi_pc in the ATAPI
IRQ handler. I've moved some of the members to the drive struct and will deal
with them later :). The next step is to add an ide_atapi_queue_pc() routine
similar to ide_cd_queue_pc() and then rewrite all functions in the drivers to
use struct requests and local buffers instead of pc->buf and then, after that
works reliably, finally get rid of ide_atapi_pc completely.
This has been tested with ide-floppy.
drivers/ide/ide-atapi.c | 123 ++++++++++++++++-------------
drivers/ide/ide-floppy.c | 56 +++++++-------
drivers/ide/ide-floppy.h | 4 +-
drivers/ide/ide-floppy_ioctl.c | 19 +++--
drivers/ide/ide-tape.c | 173 ++++++++++++++++++++++------------------
include/linux/ide.h | 20 +++--
6 files changed, 214 insertions(+), 181 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists