summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoen Hirschberg <marcoen@gmail.com>2008-03-27 10:58:36 +0000
committerMarcoen Hirschberg <marcoen@gmail.com>2008-03-27 10:58:36 +0000
commitbe40427baeacb88e27a4d8117addd60ca1fbc4c7 (patch)
tree32b8f07d1800d44c7af52d6539232f6af0019573
parent2364bc213c9dd58c9e4c3faee28b766482f4de8b (diff)
downloadrockbox-be40427baeacb88e27a4d8117addd60ca1fbc4c7.zip
rockbox-be40427baeacb88e27a4d8117addd60ca1fbc4c7.tar.gz
rockbox-be40427baeacb88e27a4d8117addd60ca1fbc4c7.tar.bz2
rockbox-be40427baeacb88e27a4d8117addd60ca1fbc4c7.tar.xz
use HAVE_ATA to decide if ata.c should be compiled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16842 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/SOURCES2
-rw-r--r--firmware/export/config-creativezvm.h3
-rw-r--r--firmware/export/config-fmrecorder.h3
-rw-r--r--firmware/export/config-gigabeat-s.h3
-rw-r--r--firmware/export/config-gigabeat.h3
-rw-r--r--firmware/export/config-h10.h3
-rw-r--r--firmware/export/config-h100.h3
-rw-r--r--firmware/export/config-h10_5gb.h3
-rw-r--r--firmware/export/config-h120.h3
-rw-r--r--firmware/export/config-h300.h3
-rw-r--r--firmware/export/config-iaudiom3.h3
-rw-r--r--firmware/export/config-iaudiom5.h3
-rw-r--r--firmware/export/config-iaudiox5.h3
-rw-r--r--firmware/export/config-ipod1g2g.h3
-rw-r--r--firmware/export/config-ipod3g.h3
-rw-r--r--firmware/export/config-ipod4g.h3
-rw-r--r--firmware/export/config-ipodcolor.h3
-rw-r--r--firmware/export/config-ipodmini.h3
-rw-r--r--firmware/export/config-ipodmini2g.h3
-rw-r--r--firmware/export/config-ipodnano.h3
-rw-r--r--firmware/export/config-ipodvideo.h3
-rw-r--r--firmware/export/config-mrobe100.h3
-rw-r--r--firmware/export/config-mrobe500.h3
-rw-r--r--firmware/export/config-player.h3
-rw-r--r--firmware/export/config-recorder.h3
-rw-r--r--firmware/export/config-recorderv2.h3
-rw-r--r--firmware/export/config-tpj1022.h3
27 files changed, 79 insertions, 1 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES
index 699460e..8fe5661 100644
--- a/firmware/SOURCES
+++ b/firmware/SOURCES
@@ -114,7 +114,7 @@ drivers/ata_mmc.c
#ifdef HAVE_FLASH_DISK
drivers/ata_flash.c
#else /* !HAVE_FLASH_DISK */
-#if !defined(SANSA_E200) && !defined(SANSA_C200) && !defined(LOGIK_DAX) && !defined(IAUDIO_7) && !defined(COWON_D2)
+#ifdef HAVE_ATA
drivers/ata.c
#endif /* SANSA_E200 */
#endif /* HAVE_FLASH_DISK */
diff --git a/firmware/export/config-creativezvm.h b/firmware/export/config-creativezvm.h
index be393f6..0b91510 100644
--- a/firmware/export/config-creativezvm.h
+++ b/firmware/export/config-creativezvm.h
@@ -29,6 +29,9 @@
/* For Rolo and boot loader */
#define MODEL_NUMBER 35
+/* define this if you use an ATA controller */
+#define HAVE_ATA
+
/* define this if you have a bitmap LCD display */
#define HAVE_LCD_BITMAP
diff --git a/firmware/export/config-fmrecorder.h b/firmware/export/config-fmrecorder.h
index 170bd27..fd5b0e1 100644
--- a/firmware/export/config-fmrecorder.h
+++ b/firmware/export/config-fmrecorder.h
@@ -1,3 +1,6 @@
+/* define this if you use an ATA controller */
+#define HAVE_ATA
+
/* define this if you have recording possibility */
#define HAVE_RECORDING
diff --git a/firmware/export/config-gigabeat-s.h b/firmware/export/config-gigabeat-s.h
index ae85908..970a882 100644
--- a/firmware/export/config-gigabeat-s.h
+++ b/firmware/export/config-gigabeat-s.h
@@ -10,6 +10,9 @@
/* For Rolo and boot loader */
#define MODEL_NUMBER 21
+/* define this if you use an ATA controller */
+#define HAVE_ATA
+
/* define this if you have a bitmap LCD display */
#define HAVE_LCD_BITMAP
diff --git a/firmware/export/config-gigabeat.h b/firmware/export/config-gigabeat.h
index 7066426..a100a6a 100644
--- a/firmware/export/config-gigabeat.h
+++ b/firmware/export/config-gigabeat.h
@@ -8,6 +8,9 @@
/* For Rolo and boot loader */
#define MODEL_NUMBER 18
+/* define this if you use an ATA controller */
+#define HAVE_ATA
+
/* define this if you have a bitmap LCD display */
#define HAVE_LCD_BITMAP
diff --git a/firmware/export/config-h10.h b/firmware/export/config-h10.h
index c69b433..f46eb76 100644
--- a/firmware/export/config-h10.h
+++ b/firmware/export/config-h10.h
@@ -8,6 +8,9 @@
#define MODEL_NUMBER 13
#define MODEL_NAME "iriver H10 20GB"
+/* define this if you use an ATA controller */
+#define HAVE_ATA
+
/* define this if you have recording possibility */
#define HAVE_RECORDING
/* Define bitmask of input sources - recordable bitmask can be defined
diff --git a/firmware/export/config-h100.h b/firmware/export/config-h100.h
index 0ecc3a8..987f9a6 100644
--- a/firmware/export/config-h100.h
+++ b/firmware/export/config-h100.h
@@ -12,6 +12,9 @@
/* For Rolo and boot loader */
#define MODEL_NUMBER 1
+/* define this if you use an ATA controller */
+#define HAVE_ATA
+
/* define this if you have a bitmap LCD display */
#define HAVE_LCD_BITMAP
diff --git a/firmware/export/config-h10_5gb.h b/firmware/export/config-h10_5gb.h
index efb62c0..e7c77e4 100644
--- a/firmware/export/config-h10_5gb.h
+++ b/firmware/export/config-h10_5gb.h
@@ -8,6 +8,9 @@
#define MODEL_NUMBER 14
#define MODEL_NAME "iriver H10 5/6GB"
+/* define this if you use an ATA controller */
+#define HAVE_ATA
+
/* define this if you have recording possibility */
#define HAVE_RECORDING
/* Define bitmask of input sources - recordable bitmask can be defined
diff --git a/firmware/export/config-h120.h b/firmware/export/config-h120.h
index a7e31c3..afb8488 100644
--- a/firmware/export/config-h120.h
+++ b/firmware/export/config-h120.h
@@ -7,6 +7,9 @@
/* For Rolo and boot loader */
#define MODEL_NUMBER 0
+/* define this if you use an ATA controller */
+#define HAVE_ATA
+
/* define this if you have a bitmap LCD display */
#define HAVE_LCD_BITMAP
diff --git a/firmware/export/config-h300.h b/firmware/export/config-h300.h
index de478aa..c9b473a 100644
--- a/firmware/export/config-h300.h
+++ b/firmware/export/config-h300.h
@@ -7,6 +7,9 @@
/* For Rolo and boot loader */
#define MODEL_NUMBER 2
+/* define this if you use an ATA controller */
+#define HAVE_ATA
+
/* define this if you have a bitmap LCD display */
#define HAVE_LCD_BITMAP
diff --git a/firmware/export/config-iaudiom3.h b/firmware/export/config-iaudiom3.h
index 67415b8..1541f7c 100644
--- a/firmware/export/config-iaudiom3.h
+++ b/firmware/export/config-iaudiom3.h
@@ -6,6 +6,9 @@
/* For Rolo and boot loader */
#define MODEL_NUMBER 25
+/* define this if you use an ATA controller */
+#define HAVE_ATA
+
/* define this if you have recording possibility */
#define HAVE_RECORDING
diff --git a/firmware/export/config-iaudiom5.h b/firmware/export/config-iaudiom5.h
index 9330315..e54fb15 100644
--- a/firmware/export/config-iaudiom5.h
+++ b/firmware/export/config-iaudiom5.h
@@ -6,6 +6,9 @@
/* For Rolo and boot loader */
#define MODEL_NUMBER 17
+/* define this if you use an ATA controller */
+#define HAVE_ATA
+
/* define this if you have recording possibility */
#define HAVE_RECORDING
diff --git a/firmware/export/config-iaudiox5.h b/firmware/export/config-iaudiox5.h
index d6fe68b..370d4fc 100644
--- a/firmware/export/config-iaudiox5.h
+++ b/firmware/export/config-iaudiox5.h
@@ -6,6 +6,9 @@
/* For Rolo and boot loader */
#define MODEL_NUMBER 10
+/* define this if you use an ATA controller */
+#define HAVE_ATA
+
/* define this if you have recording possibility */
#define HAVE_RECORDING
diff --git a/firmware/export/config-ipod1g2g.h b/firmware/export/config-ipod1g2g.h
index a1a01a5..6781fe60 100644
--- a/firmware/export/config-ipod1g2g.h
+++ b/firmware/export/config-ipod1g2g.h
@@ -8,6 +8,9 @@
/* For Rolo and boot loader */
#define MODEL_NUMBER 19
+/* define this if you use an ATA controller */
+#define HAVE_ATA
+
/* define this if you have recording possibility */
/*#define HAVE_RECORDING*/
diff --git a/firmware/export/config-ipod3g.h b/firmware/export/config-ipod3g.h
index ed0a557..4644a82 100644
--- a/firmware/export/config-ipod3g.h
+++ b/firmware/export/config-ipod3g.h
@@ -9,6 +9,9 @@
/* For Rolo and boot loader */
#define MODEL_NUMBER 7
+/* define this if you use an ATA controller */
+#define HAVE_ATA
+
/* define this if you have recording possibility */
/*#define HAVE_RECORDING*/
diff --git a/firmware/export/config-ipod4g.h b/firmware/export/config-ipod4g.h
index ce2831f..133b682 100644
--- a/firmware/export/config-ipod4g.h
+++ b/firmware/export/config-ipod4g.h
@@ -8,6 +8,9 @@
/* For Rolo and boot loader */
#define MODEL_NUMBER 8
+/* define this if you use an ATA controller */
+#define HAVE_ATA
+
/* define this if you have recording possibility */
#define HAVE_RECORDING
diff --git a/firmware/export/config-ipodcolor.h b/firmware/export/config-ipodcolor.h
index 3a9303a..5823af1 100644
--- a/firmware/export/config-ipodcolor.h
+++ b/firmware/export/config-ipodcolor.h
@@ -8,6 +8,9 @@
/* For Rolo and boot loader */
#define MODEL_NUMBER 3
+/* define this if you use an ATA controller */
+#define HAVE_ATA
+
/* define this if you have recording possibility */
#define HAVE_RECORDING
diff --git a/firmware/export/config-ipodmini.h b/firmware/export/config-ipodmini.h
index f38de3e..34632fa 100644
--- a/firmware/export/config-ipodmini.h
+++ b/firmware/export/config-ipodmini.h
@@ -8,6 +8,9 @@
/* For Rolo and boot loader */
#define MODEL_NUMBER 9 /* TODO: change to 9 */
+/* define this if you use an ATA controller */
+#define HAVE_ATA
+
/* define this if you have recording possibility */
/*#define HAVE_RECORDING*/
diff --git a/firmware/export/config-ipodmini2g.h b/firmware/export/config-ipodmini2g.h
index 567ee0b..124d0db 100644
--- a/firmware/export/config-ipodmini2g.h
+++ b/firmware/export/config-ipodmini2g.h
@@ -8,6 +8,9 @@
/* For Rolo and boot loader */
#define MODEL_NUMBER 11
+/* define this if you use an ATA controller */
+#define HAVE_ATA
+
/* define this if you have recording possibility */
/*#define HAVE_RECORDING*/
diff --git a/firmware/export/config-ipodnano.h b/firmware/export/config-ipodnano.h
index 149e04d..6a47247 100644
--- a/firmware/export/config-ipodnano.h
+++ b/firmware/export/config-ipodnano.h
@@ -8,6 +8,9 @@
/* For Rolo and boot loader */
#define MODEL_NUMBER 4
+/* define this if you use an ATA controller */
+#define HAVE_ATA
+
/* define this if you have recording possibility */
#define HAVE_RECORDING
diff --git a/firmware/export/config-ipodvideo.h b/firmware/export/config-ipodvideo.h
index 2013a8b..364ae65 100644
--- a/firmware/export/config-ipodvideo.h
+++ b/firmware/export/config-ipodvideo.h
@@ -8,6 +8,9 @@
/* For Rolo and boot loader */
#define MODEL_NUMBER 5
+/* define this if you use an ATA controller */
+#define HAVE_ATA
+
/* define this if you have recording possibility */
#define HAVE_RECORDING
diff --git a/firmware/export/config-mrobe100.h b/firmware/export/config-mrobe100.h
index 570ca85..4ce2ab5 100644
--- a/firmware/export/config-mrobe100.h
+++ b/firmware/export/config-mrobe100.h
@@ -10,6 +10,9 @@
#define MODEL_NUMBER 23
#define MODEL_NAME "Olympus m:robe MR-100"
+/* define this if you use an ATA controller */
+#define HAVE_ATA
+
/* define this if you have a bitmap LCD display */
#define HAVE_LCD_BITMAP
diff --git a/firmware/export/config-mrobe500.h b/firmware/export/config-mrobe500.h
index 53fc942..44a5868 100644
--- a/firmware/export/config-mrobe500.h
+++ b/firmware/export/config-mrobe500.h
@@ -29,6 +29,9 @@
/* For Rolo and boot loader */
#define MODEL_NUMBER 22
+/* define this if you use an ATA controller */
+#define HAVE_ATA
+
/* define this if you have a bitmap LCD display */
#define HAVE_LCD_BITMAP
diff --git a/firmware/export/config-player.h b/firmware/export/config-player.h
index b9e3035..94d5edf 100644
--- a/firmware/export/config-player.h
+++ b/firmware/export/config-player.h
@@ -1,3 +1,6 @@
+/* define this if you use an ATA controller */
+#define HAVE_ATA
+
/* define this if you have a charcell LCD display */
#define HAVE_LCD_CHARCELLS
diff --git a/firmware/export/config-recorder.h b/firmware/export/config-recorder.h
index a5de2a8..63b2d7b 100644
--- a/firmware/export/config-recorder.h
+++ b/firmware/export/config-recorder.h
@@ -1,3 +1,6 @@
+/* define this if you use an ATA controller */
+#define HAVE_ATA
+
/* define this if you have recording possibility */
#define HAVE_RECORDING
diff --git a/firmware/export/config-recorderv2.h b/firmware/export/config-recorderv2.h
index f15879e..82f7e01 100644
--- a/firmware/export/config-recorderv2.h
+++ b/firmware/export/config-recorderv2.h
@@ -1,3 +1,6 @@
+/* define this if you use an ATA controller */
+#define HAVE_ATA
+
/* define this if you have recording possibility */
#define HAVE_RECORDING
diff --git a/firmware/export/config-tpj1022.h b/firmware/export/config-tpj1022.h
index 067bb4f..5a633ec 100644
--- a/firmware/export/config-tpj1022.h
+++ b/firmware/export/config-tpj1022.h
@@ -7,6 +7,9 @@
/* For Rolo and boot loader */
#define MODEL_NUMBER 15
+/* define this if you use an ATA controller */
+#define HAVE_ATA
+
/* define this if you have recording possibility */
/*#define HAVE_RECORDING*/ /* TODO: add support for this */