forked from len0rd/rockbox
debug: Log if SMART is supported in the debug menu
This is the first step towards enabling this feature for all ATA devices. Only the ipod6g supports it out of the box with its stock storage device but with the prevalence of flash/ssd mods of one sort or another, this really should be determined at runtime. Change-Id: Ie35d97fd857bec8213cd0a2ad80695e8bb04a2d6
This commit is contained in:
parent
bb605c91a4
commit
e09829a71d
1 changed files with 3 additions and 0 deletions
|
@ -1482,6 +1482,9 @@ static int disk_callback(int btn, struct gui_synclist *lists)
|
|||
i = identify_info[83] & (1<<9);
|
||||
simplelist_addline(
|
||||
"Noise mgmt: %s", i ? "enabled" : "unsupported");
|
||||
i = identify_info[85] & (1<<0);
|
||||
simplelist_addline(
|
||||
"SMART: %s", i ? "enabled" : "unsupported");
|
||||
simplelist_addline(
|
||||
"Flush cache: %s", identify_info[83] & (1<<13) ? "extended" : identify_info[83] & (1<<12) ? "standard" : identify_info[80] >= (1<<5) ? "ATA-5" : "unsupported");
|
||||
i = identify_info[82] & (1<<6);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue