diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2008-04-11 10:39:24 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2008-04-11 10:39:24 +0000 |
commit | 97e61198a5f549db9dc882a01b2b272292bd2805 (patch) | |
tree | d23e320be4b6e71635d599c96ae587338fed1a75 /firmware | |
parent | 0b1d7e76d751b9659f4d25be72143cd491704b7e (diff) | |
download | rockbox-97e61198a5f549db9dc882a01b2b272292bd2805.tar.gz rockbox-97e61198a5f549db9dc882a01b2b272292bd2805.zip |
iPod Video 30Gig doesn't seem to need the ata locking hack so we'll just attempt to remove it for this one. Works for me on 5.5g.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17071 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/ata.c | 2 | ||||
-rw-r--r-- | firmware/thread.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/ata.c b/firmware/drivers/ata.c index 57164c4749..25eac26e99 100644 --- a/firmware/drivers/ata.c +++ b/firmware/drivers/ata.c | |||
@@ -66,7 +66,7 @@ | |||
66 | #define ATA_POWER_OFF_TIMEOUT 2*HZ | 66 | #define ATA_POWER_OFF_TIMEOUT 2*HZ |
67 | #endif | 67 | #endif |
68 | 68 | ||
69 | #ifdef MAX_PHYS_SECTOR_SIZE | 69 | #if defined(MAX_PHYS_SECTOR_SIZE) && MEM == 64 |
70 | /* Hack - what's the deal with 5g? */ | 70 | /* Hack - what's the deal with 5g? */ |
71 | struct ata_lock | 71 | struct ata_lock |
72 | { | 72 | { |
diff --git a/firmware/thread.c b/firmware/thread.c index 0049df3e90..a25a191b80 100644 --- a/firmware/thread.c +++ b/firmware/thread.c | |||
@@ -161,7 +161,7 @@ void switch_thread(void) | |||
161 | * Processor-specific section | 161 | * Processor-specific section |
162 | */ | 162 | */ |
163 | 163 | ||
164 | #ifdef MAX_PHYS_SECTOR_SIZE | 164 | #if defined(MAX_PHYS_SECTOR_SIZE) && MEM == 64 |
165 | /* Support a special workaround object for large-sector disks */ | 165 | /* Support a special workaround object for large-sector disks */ |
166 | #define IF_NO_SKIP_YIELD(...) __VA_ARGS__ | 166 | #define IF_NO_SKIP_YIELD(...) __VA_ARGS__ |
167 | #else | 167 | #else |