diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-10-26 15:07:57 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-10-26 15:09:10 -0400 |
commit | 3951fbf9d2b5609b44aa639f6c24e0d970cbf931 (patch) | |
tree | c01e99868bae046c4dbd5bcf0fb25f6d6b324128 /apps/debug_menu.c | |
parent | aea4974b88bf5ea2a87fcc23d5f8bca422242dc0 (diff) | |
download | rockbox-3951fbf9d2b5609b44aa639f6c24e0d970cbf931.tar.gz rockbox-3951fbf9d2b5609b44aa639f6c24e0d970cbf931.zip |
ATA: Restrict to UDMA2 if we don't detect an "80-pin" cable
Change-Id: I55861065741f3365491445f1f3f5b0041f33e1c6
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r-- | apps/debug_menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index 427df27e3e..32c34942e6 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -1567,9 +1567,9 @@ static int disk_callback(int btn, struct gui_synclist *lists) | |||
1567 | '0' + (i & 7)); | 1567 | '0' + (i & 7)); |
1568 | } | 1568 | } |
1569 | #endif /* HAVE_ATA_DMA */ | 1569 | #endif /* HAVE_ATA_DMA */ |
1570 | i = identify_info[0] & (1 << 15); | 1570 | i = identify_info[83] & (1 << 2); |
1571 | simplelist_addline( | 1571 | simplelist_addline( |
1572 | "CF compatible: %s", i ? "yes" : "no"); | 1572 | "CFA compatible: %s", i ? "yes" : "no"); |
1573 | i = identify_info[0] & (1 << 6); | 1573 | i = identify_info[0] & (1 << 6); |
1574 | simplelist_addline( | 1574 | simplelist_addline( |
1575 | "Fixed device: %s", i ? "yes" : "no"); | 1575 | "Fixed device: %s", i ? "yes" : "no"); |