Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
These two signatures are defined by the ATA Command Set specification. They're backwards-compatible with the IBM 5170 Fixed Disk and Diskette Drive Adapter and with SFF-8020i, respectively. They are not specific to SATA.
The SATA specification is not available to the public, but I'm sure you can find a copy somewhere at a significant discount. In revision 3.2, the signatures are figure 398 on page 731 (with a typo!) and figure 416 on page 748. In revision 3.0, the signatures are figure 228 on page 539 and figure 246 on page 556.