summaryrefslogtreecommitdiff
path: root/firmware/storage-sim.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/storage-sim.c')
-rw-r--r--firmware/storage-sim.c118
1 files changed, 0 insertions, 118 deletions
diff --git a/firmware/storage-sim.c b/firmware/storage-sim.c
deleted file mode 100644
index 24b3f18b4e..0000000000
--- a/firmware/storage-sim.c
+++ /dev/null
@@ -1,118 +0,0 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id: $
9 *
10 * Copyright (C) 2008 by Frank Gevaerts
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21#include "config.h" /* for HAVE_MULTIVOLUME or not */
22#include "storage.h"
23
24#ifdef SIMULATOR
25void storage_enable(bool on)
26{
27 (void)on;
28}
29void storage_sleep(void)
30{
31}
32void storage_sleepnow(void)
33{
34}
35bool storage_disk_is_active(void)
36{
37 return 0;
38}
39int storage_hard_reset(void)
40{
41 return 0;
42}
43int storage_soft_reset(void)
44{
45 return 0;
46}
47int storage_init(void)
48{
49 return 0;
50}
51void storage_close(void)
52{
53}
54int storage_read_sectors(int drive, unsigned long start, int count, void* buf)
55{
56 (void)drive;
57 (void)start;
58 (void)count;
59 (void)buf;
60 return 0;
61}
62int storage_write_sectors(int drive, unsigned long start, int count, const void* buf)
63{
64 (void)drive;
65 (void)start;
66 (void)count;
67 (void)buf;
68 return 0;
69}
70
71void storage_spin(void)
72{
73}
74void storage_spindown(int seconds)
75{
76 (void)seconds;
77}
78
79#if (CONFIG_LED == LED_REAL)
80void storage_set_led_enabled(bool enabled)
81{
82 (void)enabled;
83}
84#endif /*LED*/
85
86long storage_last_disk_activity(void)
87{
88 return 0;
89}
90
91int storage_spinup_time(void)
92{
93 return 0;
94}
95
96#ifdef STORAGE_GET_INFO
97void storage_get_info(int drive, struct storage_info *info)
98{
99 (void)drive;
100 (void)info;
101}
102#endif
103
104#ifdef HAVE_HOTSWAP
105bool storage_removable(int drive)
106{
107 (void)drive;
108 return 0;
109}
110
111bool storage_present(int drive)
112{
113 (void)drive;
114 return 0;
115}
116#endif /* HOTSWAP */
117
118#endif