From e9497dbf6d4d0e7ceead8397a736b1efc13ee120 Mon Sep 17 00:00:00 2001 From: Cástor Muñoz Date: Sat, 13 Feb 2016 18:28:46 +0100 Subject: 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 --- firmware/export/ata.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/export/ata.h') 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); #ifdef HAVE_ATA_SMART /* Returns current S.M.A.R.T. data */ -void* ata_read_smart(void); +int ata_read_smart(struct ata_smart_values*); #endif #endif /* __ATA_H__ */ -- cgit v1.2.3