summaryrefslogtreecommitdiff
path: root/firmware/drivers
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2008-04-11 10:39:24 +0000
committerMichael Sevakis <jethead71@rockbox.org>2008-04-11 10:39:24 +0000
commit97e61198a5f549db9dc882a01b2b272292bd2805 (patch)
treed23e320be4b6e71635d599c96ae587338fed1a75 /firmware/drivers
parent0b1d7e76d751b9659f4d25be72143cd491704b7e (diff)
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/drivers')
-rw-r--r--firmware/drivers/ata.c2
1 files changed, 1 insertions, 1 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 @@
#define ATA_POWER_OFF_TIMEOUT 2*HZ
#endif
-#ifdef MAX_PHYS_SECTOR_SIZE
+#if defined(MAX_PHYS_SECTOR_SIZE) && MEM == 64
/* Hack - what's the deal with 5g? */
struct ata_lock
{