Merge upstream kernel changes into 'C/H/S support' branch of libata.

This commit is contained in:
Jeff Garzik
2005-06-22 13:07:28 -04:00
committed by Jeff Garzik
1820 changed files with 97988 additions and 54472 deletions

View File

@@ -226,6 +226,7 @@ struct ata_taskfile {
};
#define ata_id_is_ata(id) (((id)[0] & (1 << 15)) == 0)
#define ata_id_is_sata(id) ((id)[93] == 0)
#define ata_id_rahead_enabled(id) ((id)[85] & (1 << 6))
#define ata_id_wcache_enabled(id) ((id)[85] & (1 << 5))
#define ata_id_has_flush(id) ((id)[83] & (1 << 12))