OSDev.org

The Place to Start for Operating System Developers
It is currently Tue Sep 17, 2019 3:08 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Couldn't find SATA ports
PostPosted: Sun Sep 06, 2009 6:11 pm 
Offline
Member
Member
User avatar

Joined: Tue Mar 06, 2007 11:17 am
Posts: 1146
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.

_________________
http://190.53.3.113/api (My OS compatible with DOS)

(udocproject@yahoo.com)
-----------------------------
IP for hosts file (all domains):
190.53.3.113 api.exe


Top
 Profile  
 
 Post subject: Re: Couldn't find SATA ports
PostPosted: Sun Sep 06, 2009 7:40 pm 
Offline
Member
Member

Joined: Sun Jan 14, 2007 9:15 pm
Posts: 2566
Location: Sydney, Australia (I come from a land down under!)
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!

_________________
Pedigree | GitHub | Twitter | LinkedIn


Last edited by pcmattman on Sun Sep 06, 2009 8:48 pm, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Couldn't find SATA ports
PostPosted: Sun Sep 06, 2009 8:36 pm 
Offline
Member
Member
User avatar

Joined: Tue Oct 17, 2006 9:29 pm
Posts: 2423
Location: Canada
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.
UNIX&BSD's, your only aspirations, to be imitated! 8)
Windows, are an opening in an otherwise solid and opaque surface through which light and, sometimes, even air can pass through; nothing more.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Bing [Bot], qookie and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group