diff options
-rw-r--r-- | apps/debug_menu.c | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 65a641c1a1..7072aa5349 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -1242,7 +1242,7 @@ static bool dbg_disk_info(void) bool done = false; int i; int page = 0; - const int max_page = 4; + const int max_page = 7; unsigned short* identify_info = ata_get_identify(); while(!done) @@ -1297,6 +1297,24 @@ static bool dbg_disk_info(void) lcd_puts(0, y++, "Spinup time"); lcd_puts(0, y++, buf); break; + + case 5: + i = identify_info[83] & (1<<3); + lcd_puts(0, y++, "Power mgmt:"); + lcd_puts(0, y++, i ? "enabled" : "unsupported"); + break; + + case 6: + i = identify_info[83] & (1<<9); + lcd_puts(0, y++, "Noise mgmt:"); + lcd_puts(0, y++, i ? "enabled" : "unsupported"); + break; + + case 7: + i = identify_info[82] & (6<<3); + lcd_puts(0, y++, "Read-ahead:"); + lcd_puts(0, y++, i ? "enabled" : "unsupported"); + break; } lcd_update(); |