summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-02-14 06:52:59 +0000
committerJens Arnold <amiconn@rockbox.org>2008-02-14 06:52:59 +0000
commit3fd2e52a0aa08c3d80ff797350f14f8a6dccb4b5 (patch)
treecacea7f15d99caa1b9df90e2910f8ff318eb7681
parentaddb5228ece29ce1a17591aa3c8078566ce1dbe6 (diff)
downloadrockbox-3fd2e52a0aa08c3d80ff797350f14f8a6dccb4b5.tar.gz
rockbox-3fd2e52a0aa08c3d80ff797350f14f8a6dccb4b5.zip
Do not waste RAM in the ATA driver. The identify info is a single sector.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16309 a1c6a512-1295-4272-9138-f99709370657
-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 ee322be667..f1878231f9 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -90,7 +90,7 @@ static long last_user_activity = -1;
90long last_disk_activity = -1; 90long last_disk_activity = -1;
91 91
92static int multisectors; /* number of supported multisectors */ 92static int multisectors; /* number of supported multisectors */
93static unsigned short identify_info[SECTOR_SIZE]; 93static unsigned short identify_info[SECTOR_SIZE/2];
94 94
95#ifdef MAX_PHYS_SECTOR_SIZE 95#ifdef MAX_PHYS_SECTOR_SIZE
96struct sector_cache_entry { 96struct sector_cache_entry {