ATA DMA Access

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
~
Member
Member
Posts: 1228
Joined: Tue Mar 06, 2007 11:17 am
Libera.chat IRC: ArcheFire

ATA DMA Access

Post by ~ »

As we know, ATA PIO access is fairly simple but it could be improved if Bus Master were used; the problem is that every IDE controller in the motherboard is programmed differently from brand to brand, which makes it rather "worthless".

So, my question is if it's possible to use regular legacy DMA access and standard 0x1F0, 0x170 ports for ATA drives, and if so, does somebody has some information about it?
User avatar
Kevin McGuire
Member
Member
Posts: 843
Joined: Tue Nov 09, 2004 12:00 am
Location: United States
Contact:

Post by Kevin McGuire »

I have never tried to program the a ATA controller. I think it has on board DMA chips right? There has got to be a sort of common way to program them since linux has a generic ATA driver that supports DMA I think...
pcmattman
Member
Member
Posts: 2566
Joined: Sun Jan 14, 2007 9:15 pm
Libera.chat IRC: miselin
Location: Sydney, Australia (I come from a land down under!)
Contact:

Post by pcmattman »

Try this page: ATA Extensions Document... It has info on all the commands you send to the controllers and I'm pretty sure it covers DMA.
Post Reply