summaryrefslogtreecommitdiff
path: root/firmware/drivers/ata.c
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2005-11-08 11:41:56 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2005-11-08 11:41:56 +0000
commitf6c80586951c81f69290fa219e1b6818f889c98e (patch)
treec02617d55b1d5a5d8962bd4492de73c6cce7ae71 /firmware/drivers/ata.c
parentd8c5d1b0bebcc0491121ac3550f68e9993676f4c (diff)
Fixed the bug in ata.c preventing files from being read correctly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7789 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/ata.c')
-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 8ee8225d1b..826e6f3092 100644
--- a/firmware/drivers/ata.c
+++ b/firmware/drivers/ata.c
@@ -1272,7 +1272,7 @@ static int identify(void)
for (i=0; i<SECTOR_SIZE/2; i++) {
/* the IDENTIFY words are already swapped, so we need to treat
this info differently that normal sector data */
-#if defined(ROCKBOX_IS_BIGENDIAN) && !defined(SWAP_WORDS)
+#if defined(ROCKBOX_BIG_ENDIAN) && !defined(SWAP_WORDS)
#warning Swapping ATA identify data
identify_info[i] = swap16(ATA_DATA);
#else