# libATA Developer's Guide

## Thanks

The bulk of the ATA knowledge comes thanks to long conversations with Andre Hedrick (www.linux-ide.org).

Thanks to Alan Cox for pointing out similarities between SATA and SCSI, and in general for motivation to hack on libata.

libata's device detection method, ata_pio_devchk, and in general all the early probing was based on extensive study of Hale Landis's probe/reset code in his ATADRVR driver (www.ata-atapi.com).

## libata Library

!Edrivers/scsi/libata-core.c

## libata Core Internals

!Idrivers/scsi/libata-core.c

## libata SCSI translation/emulation

!Edrivers/scsi/libata-scsi.c !Idrivers/scsi/libata-scsi.c

## ata_piix Internals

!Idrivers/scsi/ata_piix.c

## ata_sil Internals

!Idrivers/scsi/sata_sil.c