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
This commit is contained in:
Cástor Muñoz 2014-12-09 19:38:47 +01:00
parent 32b4558511
commit d20185ac96
5 changed files with 373 additions and 0 deletions

View file

@ -201,6 +201,8 @@
#define STORAGE_NEEDS_ALIGN
#define HAVE_ATA_SMART
/* define this if the device has larger sectors when accessed via USB */
/* (only relevant in disk.c, fat.c now always supports large virtual sectors) */
//#define MAX_LOG_SECTOR_SIZE 4096