mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
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:
parent
32b4558511
commit
d20185ac96
5 changed files with 373 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue