summaryrefslogtreecommitdiff
path: root/firmware/export/ata.h
diff options
context:
space:
mode:
authorCástor Muñoz <cmvidal@gmail.com>2016-02-13 18:28:46 +0100
committerCástor Muñoz <cmvidal@gmail.com>2016-02-14 15:17:42 +0100
commite9497dbf6d4d0e7ceead8397a736b1efc13ee120 (patch)
tree89efe15d5dff3d94900df72b078f1eb699a1352b /firmware/export/ata.h
parent31d9084a8ce925c513abe37f0a7e9522925f7791 (diff)
downloadrockbox-e9497dbf6d4d0e7ceead8397a736b1efc13ee120.tar.gz
rockbox-e9497dbf6d4d0e7ceead8397a736b1efc13ee120.zip
iPod Classic: ATA SMART updates
- Add description for attributes supported by Samsung HS081HA (80Gb) and HS161JQ (CEATA 160Gb). - Show error code when ata_read_smart() fails. Change-Id: I618cc4f37d139fc90f596e2cf3a751346b27deb6
Diffstat (limited to 'firmware/export/ata.h')
-rw-r--r--firmware/export/ata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/export/ata.h b/firmware/export/ata.h
index 6f0d0b699f..a1b7ab6372 100644
--- a/firmware/export/ata.h
+++ b/firmware/export/ata.h
@@ -172,7 +172,7 @@ int ata_get_dma_mode(void);
172 172
173#ifdef HAVE_ATA_SMART 173#ifdef HAVE_ATA_SMART
174/* Returns current S.M.A.R.T. data */ 174/* Returns current S.M.A.R.T. data */
175void* ata_read_smart(void); 175int ata_read_smart(struct ata_smart_values*);
176#endif 176#endif
177 177
178#endif /* __ATA_H__ */ 178#endif /* __ATA_H__ */