How to make AHCI dectect PATA Disks??

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.
Locked
Yashas
Member
Member
Posts: 45
Joined: Sun Feb 05, 2012 5:19 am
Location: India
Contact:

How to make AHCI dectect PATA Disks??

Post 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.
User avatar
brain
Member
Member
Posts: 234
Joined: Thu Nov 05, 2009 5:04 pm
Location: UK
Contact:

Re: How to make AHCI dectect PATA Disks??

Post 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...
Yashas
Member
Member
Posts: 45
Joined: Sun Feb 05, 2012 5:19 am
Location: India
Contact:

Re: How to make AHCI dectect PATA Disks??

Post 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.
Locked