From e0e24cbf0a3b11cb161e0ae057e4c383c6134801 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Wed, 1 Jul 2009 10:07:22 +0000 Subject: Merge tCardInfo struct (MMC) and tSDCardInfo struct (SD) Put specific members under #ifdef (CONFIG_STORAGE & STORAGE_xx) (2 members for SD and 1 for MMC) Fix a typo: tsac doesn't exist and must be read taac Move card_get_info functions declaration inside hotswap.h to remove mutual inclusion of ata_mmc.h and hotswap.h Move static const data structures from SD drivers into sd.h (sd_exponent and sd_mantissa) Fix sd_command prototypes in SD drivers (card registers are unsigned long) Fix speed calculation in Sansa AMS driver (PP SD driver needs to be checked) Move ata-sd-target.h to sd-pp-target.h to reflect the PP specifity. Now it only contains declaration of microsd_int() Remove unused ata-sd-target.h for injenic TODO: - check if CSD register bits are extracted correctly in PP driver - correctly define read_timeout and write_timeout unit for MMC & SD, and use timeouts in Sansa AMS driver git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21586 a1c6a512-1295-4272-9138-f99709370657 --- 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 bb6dd1033a..97bd698871 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c @@ -1933,10 +1933,10 @@ static int disk_callback(int btn, struct gui_synclist *lists) kbit_units, false); simplelist_addline(SIMPLELIST_ADD_LINE, "Speed: %s", pbuf); - output_dyn_value(pbuf, sizeof pbuf, card->tsac, + output_dyn_value(pbuf, sizeof pbuf, card->taac, nsec_units, false); simplelist_addline(SIMPLELIST_ADD_LINE, - "Tsac: %s", pbuf); + "Taac: %s", pbuf); simplelist_addline(SIMPLELIST_ADD_LINE, "Nsac: %d clk", card->nsac); simplelist_addline(SIMPLELIST_ADD_LINE, -- cgit v1.2.3