I've recently bought an parallel-to-ide interface, and after some kernel
hacking to get it work i found several problems with the currect (2.4.19)
paride interface. Actually the files drivers/block/paride/p?.c and pcd.c
are stripped down ide interface code (duplicate of the generic ide code at
drivers/ide/*)
As you're on changing/redesigning the IDE code of the 2.5 tree, I would
consider taking a look at the paride interface and include it into the new
generic IDE code.
Current problems/limitations of paride code:
- no support for LBA (>32GB) or big (>128GB) disks
(i've hacked LBA support into pd.c to get my 40G hdd work - i'll prepare a
patch when i'm statisfied with testing results)
- no ioctls for hdparm and other hdd utils to control the devices
I think the problem is that paride was developed many years ago and is not
maintained/updated to the changes of the IDE interface (i've sent
mail a week ago to the author - no answer yet)
It seems this part of the code have been somehow forgotten :(
Either it should be extended to avoid teh above mentioned limitations (i'm
working on that) or the better would be merging it with the generic ide code
(i don't know the kernel's generic ide code yet enough to do it myself).
The former means lots of code duplication what i want to avoid if possible.
The later has a big problem though, actually the paride drivers have custom
_functions_ to read/write IDE/ATA registers and data blocks instead of using
just inb/outb or DMA. I don't know if the current/planned new IDE code can
deal with it.
A'rpi / Astral & ESP-team
-- Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/