OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Apr 19, 2024 9:14 am

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: 1225
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.

_________________
Live PC 1: Image Live PC 2: Image

YouTube:
http://youtube.com/@AltComp126/streams
http://youtube.com/@proyectos/streams

http://master.dl.sourceforge.net/projec ... 7z?viasf=1


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: 2426
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.


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] and 103 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