OSDev.org
https://forum.osdev.org/

Couldn't find SATA ports
https://forum.osdev.org/viewtopic.php?f=1&t=20886
Page 1 of 1

Author:  ~ [ Sun Sep 06, 2009 6:11 pm ]
Post subject:  Couldn't find SATA ports

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.

Author:  pcmattman [ Sun Sep 06, 2009 7:40 pm ]
Post subject:  Re: Couldn't find SATA ports

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!

Author:  Brynet-Inc [ Sun Sep 06, 2009 8:36 pm ]
Post subject:  Re: Couldn't find SATA ports

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.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/