From 3951fbf9d2b5609b44aa639f6c24e0d970cbf931 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sat, 26 Oct 2024 15:07:57 -0400 Subject: ATA: Restrict to UDMA2 if we don't detect an "80-pin" cable Change-Id: I55861065741f3365491445f1f3f5b0041f33e1c6 --- apps/debug_menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps') 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) '0' + (i & 7)); } #endif /* HAVE_ATA_DMA */ - i = identify_info[0] & (1 << 15); + i = identify_info[83] & (1 << 2); simplelist_addline( - "CF compatible: %s", i ? "yes" : "no"); + "CFA compatible: %s", i ? "yes" : "no"); i = identify_info[0] & (1 << 6); simplelist_addline( "Fixed device: %s", i ? "yes" : "no"); -- cgit v1.2.3