Page 1 of 1

How to make AHCI dectect PATA Disks??

Posted: Sun Feb 05, 2012 7:19 am
by Yashas
I had made a code for SATA but my AHCI driver get the data.My operating system displays the list of connected ATA Devices but PATA disks are not seen.

What could be the reason?Is there a sepreate way to get PATA IO ?

My PATA disk is perfect.

Re: How to make AHCI dectect PATA Disks??

Posted: Sun Feb 05, 2012 8:26 am
by brain
For pata I used legacy mode, eg the known port ranges for pio mode, if I remember right the ports start around 0x1f0 and 0x3f0... There's a reasonable guide on the wiki if you search for ATA...

Re: How to make AHCI dectect PATA Disks??

Posted: Sun Feb 05, 2012 8:31 am
by Yashas
I got it done by the BIOS in real mode and saved the info.

And also get the linux kernel ,u can get lot of info from those source.

Anyway, thank you.