Couldn't find SATA ports

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

Couldn't find SATA ports

Post by ~ »

Does anybody know what I/O ports could be accessed other than 0x1F0, 0x170, 0x1E8, 0x168?

Today I tried to manually read those ports looking for a SATA HDD, but it didn't seem to be there. There was only 0xFF reads from those locations.
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:

Re: Couldn't find SATA ports

Post by pcmattman »

As far as I know you actually talk to SATA drives through an AHCI (advanced host controller interface) controller (assuming the system isn't in IDE emulation mode), which means you don't necessarily access the drives directly (ie, no port range per master/slave ala IDE). I could be wrong though!
Last edited by pcmattman on Sun Sep 06, 2009 8:48 pm, edited 1 time in total.
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Re: Couldn't find SATA ports

Post by Brynet-Inc »

If configured by the BIOS,

* They can appear as a legacy ISA IDE controllers if emulated by the chipset..
* They also appear as a PCI IDE controllers in native or compatibility mode.
* Finally, they may appear as an AHCI compatible devices..

AHCI is the recommended mode of operation, NCQ and device Hot Plugging is available.

(Least likely is they're on a proprietary SATA RAID controller with an undocumented chipset)
Have fun.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
Post Reply