I have some qustions about SATA programming
1) Is SATA like ATA - ATAPI protocols that you can use for any kind of SATA drive, or chipset.
2) Does any one knows about SATA specification (or how to get them free).
SATA Help!!!
http://linux-ata.org/devel.html - Powered by Google search(tm).
-
- Member
- Posts: 33
- Joined: Wed Apr 26, 2006 11:00 pm
Re: SATA Help!!!
keller wrote:I have some qustions about SATA programming
1) Is SATA like ATA - ATAPI protocols that you can use for any kind of SATA drive, or chipset.
2) Does any one knows about SATA specification (or how to get them free).
Yes the protocol is like ATA/ATAPI, u just don' t use to port ranges 1f0-1f7 and 170-17f, (for the primary and secondary controller), but u use a port range which u have to read directly from the PIC configuration registers.
(see PCMD_BAR—Primary Command Block Base Address, Register (SATA–D31:F2))
(so regs at offset 10 till offset 20 in PCI register address space).
Also there is no more Master or slave, per channel there is only 1 device.
I wrote my SATA driver for the ICH5-ICH8 chipset's and tested it on a ICH8 chipset. Not sure about other chip-sets, but i think they should be the same, mostly. So all the info above is based on my experience whit the ICH8 chip set.
Look on the intel site for the Doc's about the ICH5 chip-set and for additional info about SATA, look for "Sata ich5". This is assuming u have an intel chip set.
Regards
PyroMathic