Only a driver can give you that information I think. Motherboard chipset can emulate a SATA hard-disk as being IDE (just an example - this is useful with operating systems as windows xp which does not have SATA drivers by default).
Programs like AIDA64 uses a driver to get the information.