Hi,
On Thursday 12 June 2008, Borislav Petkov wrote:
Thanks.
I applied patches #1-2, #5-12 and #14-15.
I skipped patches #3-4, #13 and #16-18 for now
(more details in replies to corresponding mails).
Some pc->flags describe device's properties and thus should be moved to
ide_drive_t (->dev_flags) while some other correspond to the queued command
and moving them to ide_drive_t would be a bad idea IMO.
For ATA commands I was planning to put taskfile flags into rq->special field
(well, I actually implemented it in draft patch and it looks OK) so maybe we
can do something similar for packet commands.
If you ask if they can be mapped 'directly' then the answer is: "probably no"
but if the question is whether it is possible to do it after some changes then
the answer is: "probably yes". :)
[ However it may be necessary to convert ATAPI drivers to use scatterlists
instead of open-coded ->bio walking for PIO transfers first. ]
Thanks,
Bart
--