diff options
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r-- | apps/debug_menu.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index fbaae57601..22ec63abe9 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -1957,6 +1957,11 @@ static int disk_callback(int btn, struct gui_synclist *lists) | |||
1957 | simplelist_addline(SIMPLELIST_ADD_LINE, | 1957 | simplelist_addline(SIMPLELIST_ADD_LINE, |
1958 | "No timing info"); | 1958 | "No timing info"); |
1959 | } | 1959 | } |
1960 | int sector_size = 512; | ||
1961 | if((identify_info[106] & 0xe000) == 0x6000) | ||
1962 | sector_size *= BIT_N(identify_info[106] & 0x000f); | ||
1963 | simplelist_addline(SIMPLELIST_ADD_LINE, | ||
1964 | "Physical sector size: %d", sector_size); | ||
1960 | #ifdef HAVE_ATA_DMA | 1965 | #ifdef HAVE_ATA_DMA |
1961 | if (identify_info[63] & (1<<0)) { | 1966 | if (identify_info[63] & (1<<0)) { |
1962 | char mdma0[2], mdma1[2], mdma2[2]; | 1967 | char mdma0[2], mdma1[2], mdma2[2]; |