1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Marcoen Hirschberg 2008-03-27 10:58:36 +00:00
parent 2364bc213c
commit be40427bae
27 changed files with 79 additions and 1 deletions

View file

@ -114,7 +114,7 @@ drivers/ata_mmc.c
#ifdef HAVE_FLASH_DISK #ifdef HAVE_FLASH_DISK
drivers/ata_flash.c drivers/ata_flash.c
#else /* !HAVE_FLASH_DISK */ #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 drivers/ata.c
#endif /* SANSA_E200 */ #endif /* SANSA_E200 */
#endif /* HAVE_FLASH_DISK */ #endif /* HAVE_FLASH_DISK */

View file

@ -29,6 +29,9 @@
/* For Rolo and boot loader */ /* For Rolo and boot loader */
#define MODEL_NUMBER 35 #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 this if you have a bitmap LCD display */
#define HAVE_LCD_BITMAP #define HAVE_LCD_BITMAP

View file

@ -1,3 +1,6 @@
/* define this if you use an ATA controller */
#define HAVE_ATA
/* define this if you have recording possibility */ /* define this if you have recording possibility */
#define HAVE_RECORDING #define HAVE_RECORDING

View file

@ -10,6 +10,9 @@
/* For Rolo and boot loader */ /* For Rolo and boot loader */
#define MODEL_NUMBER 21 #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 this if you have a bitmap LCD display */
#define HAVE_LCD_BITMAP #define HAVE_LCD_BITMAP

View file

@ -8,6 +8,9 @@
/* For Rolo and boot loader */ /* For Rolo and boot loader */
#define MODEL_NUMBER 18 #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 this if you have a bitmap LCD display */
#define HAVE_LCD_BITMAP #define HAVE_LCD_BITMAP

View file

@ -8,6 +8,9 @@
#define MODEL_NUMBER 13 #define MODEL_NUMBER 13
#define MODEL_NAME "iriver H10 20GB" #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 this if you have recording possibility */
#define HAVE_RECORDING #define HAVE_RECORDING
/* Define bitmask of input sources - recordable bitmask can be defined /* Define bitmask of input sources - recordable bitmask can be defined

View file

@ -12,6 +12,9 @@
/* For Rolo and boot loader */ /* For Rolo and boot loader */
#define MODEL_NUMBER 1 #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 this if you have a bitmap LCD display */
#define HAVE_LCD_BITMAP #define HAVE_LCD_BITMAP

View file

@ -8,6 +8,9 @@
#define MODEL_NUMBER 14 #define MODEL_NUMBER 14
#define MODEL_NAME "iriver H10 5/6GB" #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 this if you have recording possibility */
#define HAVE_RECORDING #define HAVE_RECORDING
/* Define bitmask of input sources - recordable bitmask can be defined /* Define bitmask of input sources - recordable bitmask can be defined

View file

@ -7,6 +7,9 @@
/* For Rolo and boot loader */ /* For Rolo and boot loader */
#define MODEL_NUMBER 0 #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 this if you have a bitmap LCD display */
#define HAVE_LCD_BITMAP #define HAVE_LCD_BITMAP

View file

@ -7,6 +7,9 @@
/* For Rolo and boot loader */ /* For Rolo and boot loader */
#define MODEL_NUMBER 2 #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 this if you have a bitmap LCD display */
#define HAVE_LCD_BITMAP #define HAVE_LCD_BITMAP

View file

@ -6,6 +6,9 @@
/* For Rolo and boot loader */ /* For Rolo and boot loader */
#define MODEL_NUMBER 25 #define MODEL_NUMBER 25
/* define this if you use an ATA controller */
#define HAVE_ATA
/* define this if you have recording possibility */ /* define this if you have recording possibility */
#define HAVE_RECORDING #define HAVE_RECORDING

View file

@ -6,6 +6,9 @@
/* For Rolo and boot loader */ /* For Rolo and boot loader */
#define MODEL_NUMBER 17 #define MODEL_NUMBER 17
/* define this if you use an ATA controller */
#define HAVE_ATA
/* define this if you have recording possibility */ /* define this if you have recording possibility */
#define HAVE_RECORDING #define HAVE_RECORDING

View file

@ -6,6 +6,9 @@
/* For Rolo and boot loader */ /* For Rolo and boot loader */
#define MODEL_NUMBER 10 #define MODEL_NUMBER 10
/* define this if you use an ATA controller */
#define HAVE_ATA
/* define this if you have recording possibility */ /* define this if you have recording possibility */
#define HAVE_RECORDING #define HAVE_RECORDING

View file

@ -8,6 +8,9 @@
/* For Rolo and boot loader */ /* For Rolo and boot loader */
#define MODEL_NUMBER 19 #define MODEL_NUMBER 19
/* define this if you use an ATA controller */
#define HAVE_ATA
/* define this if you have recording possibility */ /* define this if you have recording possibility */
/*#define HAVE_RECORDING*/ /*#define HAVE_RECORDING*/

View file

@ -9,6 +9,9 @@
/* For Rolo and boot loader */ /* For Rolo and boot loader */
#define MODEL_NUMBER 7 #define MODEL_NUMBER 7
/* define this if you use an ATA controller */
#define HAVE_ATA
/* define this if you have recording possibility */ /* define this if you have recording possibility */
/*#define HAVE_RECORDING*/ /*#define HAVE_RECORDING*/

View file

@ -8,6 +8,9 @@
/* For Rolo and boot loader */ /* For Rolo and boot loader */
#define MODEL_NUMBER 8 #define MODEL_NUMBER 8
/* define this if you use an ATA controller */
#define HAVE_ATA
/* define this if you have recording possibility */ /* define this if you have recording possibility */
#define HAVE_RECORDING #define HAVE_RECORDING

View file

@ -8,6 +8,9 @@
/* For Rolo and boot loader */ /* For Rolo and boot loader */
#define MODEL_NUMBER 3 #define MODEL_NUMBER 3
/* define this if you use an ATA controller */
#define HAVE_ATA
/* define this if you have recording possibility */ /* define this if you have recording possibility */
#define HAVE_RECORDING #define HAVE_RECORDING

View file

@ -8,6 +8,9 @@
/* For Rolo and boot loader */ /* For Rolo and boot loader */
#define MODEL_NUMBER 9 /* TODO: change to 9 */ #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 this if you have recording possibility */
/*#define HAVE_RECORDING*/ /*#define HAVE_RECORDING*/

View file

@ -8,6 +8,9 @@
/* For Rolo and boot loader */ /* For Rolo and boot loader */
#define MODEL_NUMBER 11 #define MODEL_NUMBER 11
/* define this if you use an ATA controller */
#define HAVE_ATA
/* define this if you have recording possibility */ /* define this if you have recording possibility */
/*#define HAVE_RECORDING*/ /*#define HAVE_RECORDING*/

View file

@ -8,6 +8,9 @@
/* For Rolo and boot loader */ /* For Rolo and boot loader */
#define MODEL_NUMBER 4 #define MODEL_NUMBER 4
/* define this if you use an ATA controller */
#define HAVE_ATA
/* define this if you have recording possibility */ /* define this if you have recording possibility */
#define HAVE_RECORDING #define HAVE_RECORDING

View file

@ -8,6 +8,9 @@
/* For Rolo and boot loader */ /* For Rolo and boot loader */
#define MODEL_NUMBER 5 #define MODEL_NUMBER 5
/* define this if you use an ATA controller */
#define HAVE_ATA
/* define this if you have recording possibility */ /* define this if you have recording possibility */
#define HAVE_RECORDING #define HAVE_RECORDING

View file

@ -10,6 +10,9 @@
#define MODEL_NUMBER 23 #define MODEL_NUMBER 23
#define MODEL_NAME "Olympus m:robe MR-100" #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 this if you have a bitmap LCD display */
#define HAVE_LCD_BITMAP #define HAVE_LCD_BITMAP

View file

@ -29,6 +29,9 @@
/* For Rolo and boot loader */ /* For Rolo and boot loader */
#define MODEL_NUMBER 22 #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 this if you have a bitmap LCD display */
#define HAVE_LCD_BITMAP #define HAVE_LCD_BITMAP

View file

@ -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 this if you have a charcell LCD display */
#define HAVE_LCD_CHARCELLS #define HAVE_LCD_CHARCELLS

View file

@ -1,3 +1,6 @@
/* define this if you use an ATA controller */
#define HAVE_ATA
/* define this if you have recording possibility */ /* define this if you have recording possibility */
#define HAVE_RECORDING #define HAVE_RECORDING

View file

@ -1,3 +1,6 @@
/* define this if you use an ATA controller */
#define HAVE_ATA
/* define this if you have recording possibility */ /* define this if you have recording possibility */
#define HAVE_RECORDING #define HAVE_RECORDING

View file

@ -7,6 +7,9 @@
/* For Rolo and boot loader */ /* For Rolo and boot loader */
#define MODEL_NUMBER 15 #define MODEL_NUMBER 15
/* define this if you use an ATA controller */
#define HAVE_ATA
/* define this if you have recording possibility */ /* define this if you have recording possibility */
/*#define HAVE_RECORDING*/ /* TODO: add support for this */ /*#define HAVE_RECORDING*/ /* TODO: add support for this */