diff options
Diffstat (limited to 'apps')
-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) | |||
1242 | bool done = false; | 1242 | bool done = false; |
1243 | int i; | 1243 | int i; |
1244 | int page = 0; | 1244 | int page = 0; |
1245 | const int max_page = 4; | 1245 | const int max_page = 7; |
1246 | unsigned short* identify_info = ata_get_identify(); | 1246 | unsigned short* identify_info = ata_get_identify(); |
1247 | 1247 | ||
1248 | while(!done) | 1248 | while(!done) |
@@ -1297,6 +1297,24 @@ static bool dbg_disk_info(void) | |||
1297 | lcd_puts(0, y++, "Spinup time"); | 1297 | lcd_puts(0, y++, "Spinup time"); |
1298 | lcd_puts(0, y++, buf); | 1298 | lcd_puts(0, y++, buf); |
1299 | break; | 1299 | break; |
1300 | |||
1301 | case 5: | ||
1302 | i = identify_info[83] & (1<<3); | ||
1303 | lcd_puts(0, y++, "Power mgmt:"); | ||
1304 | lcd_puts(0, y++, i ? "enabled" : "unsupported"); | ||
1305 | break; | ||
1306 | |||
1307 | case 6: | ||
1308 | i = identify_info[83] & (1<<9); | ||
1309 | lcd_puts(0, y++, "Noise mgmt:"); | ||
1310 | lcd_puts(0, y++, i ? "enabled" : "unsupported"); | ||
1311 | break; | ||
1312 | |||
1313 | case 7: | ||
1314 | i = identify_info[82] & (6<<3); | ||
1315 | lcd_puts(0, y++, "Read-ahead:"); | ||
1316 | lcd_puts(0, y++, i ? "enabled" : "unsupported"); | ||
1317 | break; | ||
1300 | } | 1318 | } |
1301 | lcd_update(); | 1319 | lcd_update(); |
1302 | 1320 | ||