From 3fd2e52a0aa08c3d80ff797350f14f8a6dccb4b5 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Thu, 14 Feb 2008 06:52:59 +0000 Subject: 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 --- firmware/drivers/ata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/drivers/ata.c') 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; long last_disk_activity = -1; static int multisectors; /* number of supported multisectors */ -static unsigned short identify_info[SECTOR_SIZE]; +static unsigned short identify_info[SECTOR_SIZE/2]; #ifdef MAX_PHYS_SECTOR_SIZE struct sector_cache_entry { -- cgit v1.2.3