[lkml]   [2002]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectdrivers/block/paride/pd.c vs. generic IDE code

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

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 -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:28    [W:0.031 / U:3.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site