diff options
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/disk.h | 3 | ||||
-rw-r--r-- | firmware/export/sd.h | 1 | ||||
-rw-r--r-- | firmware/export/sdmmc.h | 5 |
3 files changed, 2 insertions, 7 deletions
diff --git a/firmware/export/disk.h b/firmware/export/disk.h index cd937fdf66..d73a2a7f88 100644 --- a/firmware/export/disk.h +++ b/firmware/export/disk.h | |||
@@ -35,8 +35,9 @@ struct partinfo { | |||
35 | #define PARTITION_TYPE_OS2_HIDDEN_C_DRIVE 0x84 | 35 | #define PARTITION_TYPE_OS2_HIDDEN_C_DRIVE 0x84 |
36 | 36 | ||
37 | /* returns a pointer to an array of 8 partinfo structs */ | 37 | /* returns a pointer to an array of 8 partinfo structs */ |
38 | struct partinfo* disk_init(IF_MD_NONVOID(int drive)); | ||
39 | struct partinfo* disk_partinfo(int partition); | 38 | struct partinfo* disk_partinfo(int partition); |
39 | |||
40 | void disk_init_subsystem(void); /* Initialises mutexes */ | ||
40 | int disk_mount_all(void); /* returns the # of successful mounts */ | 41 | int disk_mount_all(void); /* returns the # of successful mounts */ |
41 | int disk_mount(int drive); | 42 | int disk_mount(int drive); |
42 | int disk_unmount(int drive); | 43 | int disk_unmount(int drive); |
diff --git a/firmware/export/sd.h b/firmware/export/sd.h index 1c61364566..c798f54e9a 100644 --- a/firmware/export/sd.h +++ b/firmware/export/sd.h | |||
@@ -48,7 +48,6 @@ void sd_get_info(IF_MD2(int drive,) struct storage_info *info); | |||
48 | #ifdef HAVE_HOTSWAP | 48 | #ifdef HAVE_HOTSWAP |
49 | bool sd_removable(IF_MV_NONVOID(int drive)); | 49 | bool sd_removable(IF_MV_NONVOID(int drive)); |
50 | bool sd_present(IF_MV_NONVOID(int drive)); | 50 | bool sd_present(IF_MV_NONVOID(int drive)); |
51 | void card_enable_monitoring_target(bool on); | ||
52 | #endif | 51 | #endif |
53 | 52 | ||
54 | long sd_last_disk_activity(void); | 53 | long sd_last_disk_activity(void); |
diff --git a/firmware/export/sdmmc.h b/firmware/export/sdmmc.h index 6ac3bd2af5..4351c85c42 100644 --- a/firmware/export/sdmmc.h +++ b/firmware/export/sdmmc.h | |||
@@ -57,17 +57,12 @@ typedef struct | |||
57 | tCardInfo *card_get_info_target(int card_no); | 57 | tCardInfo *card_get_info_target(int card_no); |
58 | void sd_parse_csd(tCardInfo *card); | 58 | void sd_parse_csd(tCardInfo *card); |
59 | 59 | ||
60 | #ifdef HAVE_HOTSWAP | ||
61 | #define card_enable_monitoring card_enable_monitoring_target | ||
62 | #endif | ||
63 | |||
64 | #else /* STORAGE_MMC */ | 60 | #else /* STORAGE_MMC */ |
65 | 61 | ||
66 | #include "ata_mmc.h" | 62 | #include "ata_mmc.h" |
67 | #define card_get_info mmc_card_info | 63 | #define card_get_info mmc_card_info |
68 | tCardInfo *mmc_card_info(int card_no); | 64 | tCardInfo *mmc_card_info(int card_no); |
69 | #define card_touched mmc_touched | 65 | #define card_touched mmc_touched |
70 | #define card_enable_monitoring mmc_enable_monitoring | ||
71 | 66 | ||
72 | #endif | 67 | #endif |
73 | 68 | ||