Tejun Heo d868ca2430 ide-taskfile: don't abuse rq->buffer
Impact: rq->buffer usage cleanup

ide_raw_taskfile() directly uses rq->buffer to carry pointer to the
data buffer.  This complicates both block interface and ide backend
request handling.  Use blk_rq_map_kern() instead and drop special
handling for REQ_TYPE_ATA_TASKFILE from ide_map_sg().

Note that REQ_RW setting is moved upwards as blk_rq_map_kern() uses it
to initialize bio rw flag.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Jens Axboe <axboe@kernel.dk>
2009-04-28 07:37:29 +02:00
..
2009-03-31 20:15:21 +02:00
2009-04-08 14:13:04 +02:00
2009-01-06 17:20:55 +01:00
2009-01-06 17:20:52 +01:00
2009-03-27 12:46:28 +01:00
2009-04-18 17:42:19 +02:00
2009-04-08 14:13:02 +02:00
2009-04-08 14:13:03 +02:00
2009-03-27 12:46:45 +01:00
2009-04-28 07:37:28 +02:00
2009-03-31 20:15:33 +02:00
2009-03-27 12:46:34 +01:00
2009-04-08 14:13:03 +02:00
2009-04-28 07:37:29 +02:00
2009-04-28 07:37:28 +02:00
2009-04-08 14:13:03 +02:00
2009-04-08 14:13:03 +02:00
2009-03-27 12:46:18 +01:00
2009-04-08 14:13:03 +02:00
2009-01-06 17:20:52 +01:00
2008-11-02 21:40:08 +01:00
2009-04-08 14:13:03 +02:00
2009-04-18 17:42:19 +02:00
2008-10-26 09:35:05 -07:00
2009-04-08 14:13:03 +02:00
2009-01-06 17:20:52 +01:00
2009-04-08 14:13:03 +02:00