summaryrefslogtreecommitdiff
path: root/firmware/common
diff options
context:
space:
mode:
authorRobert Kukla <roolku@rockbox.org>2008-03-09 01:56:38 +0000
committerRobert Kukla <roolku@rockbox.org>2008-03-09 01:56:38 +0000
commite96f19c690947dafeabcd568b0e562e7dc200809 (patch)
treefcdc925178ea6049e6fca1d2ba0dcf79e592ecdc /firmware/common
parent88e2053538fecff7239abdfaf944c90351940652 (diff)
downloadrockbox-e96f19c690947dafeabcd568b0e562e7dc200809.tar.gz
rockbox-e96f19c690947dafeabcd568b0e562e7dc200809.zip
enable partition probing for superfloppy targets; hanging was caused by out-of-bounds sector access
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16583 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common')
-rw-r--r--firmware/common/disk.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/firmware/common/disk.c b/firmware/common/disk.c
index c26fdb37a4..3d4dd3dc1d 100644
--- a/firmware/common/disk.c
+++ b/firmware/common/disk.c
@@ -148,10 +148,6 @@ int disk_mount(int drive)
148 { 148 {
149 return 0; 149 return 0;
150 } 150 }
151#if !defined(ELIO_TPJ1022) && !defined(MROBE_100)
152 /* The Elio's hard drive has no partition table and probing for partitions causes
153 Rockbox to crash - so we temporarily disable the probing until we fix the
154 real problem. */
155#ifdef TOSHIBA_GIGABEAT_S 151#ifdef TOSHIBA_GIGABEAT_S
156 int i = 1; /* For the Gigabeat S, we mount the second partition */ 152 int i = 1; /* For the Gigabeat S, we mount the second partition */
157#else 153#else
@@ -185,7 +181,6 @@ int disk_mount(int drive)
185 } 181 }
186#endif 182#endif
187 } 183 }
188#endif
189 184
190 if (mounted == 0 && volume != -1) /* none of the 4 entries worked? */ 185 if (mounted == 0 && volume != -1) /* none of the 4 entries worked? */
191 { /* try "superfloppy" mode */ 186 { /* try "superfloppy" mode */