summaryrefslogtreecommitdiff
path: root/firmware/export/config/ipod6g.h
diff options
context:
space:
mode:
authorCástor Muñoz <cmvidal@gmail.com>2014-12-09 19:38:47 +0100
committerCástor Muñoz <cmvidal@gmail.com>2015-10-07 06:15:04 +0200
commitd20185ac96c4b50ed4de7098a101a31f2b140b82 (patch)
tree087c7d3f0160864a47bd02dbeb46371c8de01cf8 /firmware/export/config/ipod6g.h
parent32b455851103dea48444243352efdfd693cd3b6b (diff)
downloadrockbox-d20185ac96c4b50ed4de7098a101a31f2b140b82.tar.gz
rockbox-d20185ac96c4b50ed4de7098a101a31f2b140b82.zip
iPod Classic: reads HDD S.M.A.R.T. data
Adds ata_read_smart() function to storage ATA driver, current SMART data can be displayed and optionally written to hard disk using System->Debug menu. Change-Id: Ie8817bb311d5d956df2f0fbfaf554e2d53e89a93
Diffstat (limited to 'firmware/export/config/ipod6g.h')
-rw-r--r--firmware/export/config/ipod6g.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/config/ipod6g.h b/firmware/export/config/ipod6g.h
index 7e7025e157..0a40108699 100644
--- a/firmware/export/config/ipod6g.h
+++ b/firmware/export/config/ipod6g.h
@@ -201,6 +201,8 @@
201 201
202#define STORAGE_NEEDS_ALIGN 202#define STORAGE_NEEDS_ALIGN
203 203
204#define HAVE_ATA_SMART
205
204/* define this if the device has larger sectors when accessed via USB */ 206/* define this if the device has larger sectors when accessed via USB */
205/* (only relevant in disk.c, fat.c now always supports large virtual sectors) */ 207/* (only relevant in disk.c, fat.c now always supports large virtual sectors) */
206//#define MAX_LOG_SECTOR_SIZE 4096 208//#define MAX_LOG_SECTOR_SIZE 4096