summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-05-11 20:56:27 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-05-11 20:56:27 +0000
commit248194164d605f00fee41f627178453bda41f1d9 (patch)
tree63c148354e5596bf9ed1fb9abd45f3e07d8acaf3
parentda8552ff094132a3280829c4e9c39abcd909561f (diff)
downloadrockbox-248194164d605f00fee41f627178453bda41f1d9.zip
rockbox-248194164d605f00fee41f627178453bda41f1d9.tar.gz
rockbox-248194164d605f00fee41f627178453bda41f1d9.tar.bz2
rockbox-248194164d605f00fee41f627178453bda41f1d9.tar.xz
Disable the ata locking hack since a recent test strongly suggests it has been resolved as of r17426. Leave the code for now just in case.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17468 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/drivers/ata.c2
-rw-r--r--firmware/thread.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c
index 87dacc3..1e42bed 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -71,7 +71,7 @@
static struct thread_entry *ata_thread_p = NULL;
#endif
-#if defined(MAX_PHYS_SECTOR_SIZE) && MEM == 64
+#if 0 /* defined(MAX_PHYS_SECTOR_SIZE) && MEM == 64 */
/* Hack - what's the deal with 5g? */
struct ata_lock
{
diff --git a/firmware/thread.c b/firmware/thread.c
index 0f42731..e8d05d5 100644
--- a/firmware/thread.c
+++ b/firmware/thread.c
@@ -161,7 +161,7 @@ void switch_thread(void)
* Processor-specific section
*/
-#if defined(MAX_PHYS_SECTOR_SIZE) && MEM == 64
+#if 0 /* defined(MAX_PHYS_SECTOR_SIZE) && MEM == 64 */
/* Support a special workaround object for large-sector disks */
#define IF_NO_SKIP_YIELD(...) __VA_ARGS__
#else