From bad4142ce2eb1d2e5311cc3fab416b6544ca4634 Mon Sep 17 00:00:00 2001 From: Torne Wuff Date: Fri, 9 Apr 2010 12:10:17 +0000 Subject: Add LBA48 support to all targets with ATA, except archoses whose USB bridge chip can't handle it. The cost of LBA48 support is very small and it means that upgraded drives/CF cards which are over 128GiB will just work with no custom build required. There should be no runtime effect on disks which do not require it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25553 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config/creativezv.h | 3 +++ firmware/export/config/gigabeatfx.h | 3 +++ firmware/export/config/gigabeats.h | 3 +++ firmware/export/config/gogearhdd1630.h | 3 +++ firmware/export/config/gogearhdd6330.h | 3 +++ firmware/export/config/iaudiom3.h | 3 +++ firmware/export/config/iaudiom5.h | 3 +++ firmware/export/config/iaudiox5.h | 3 +++ firmware/export/config/ipod1g2g.h | 3 +++ firmware/export/config/ipod3g.h | 3 +++ firmware/export/config/ipod4g.h | 3 +++ firmware/export/config/ipodcolor.h | 3 +++ firmware/export/config/ipodmini1g.h | 3 +++ firmware/export/config/ipodmini2g.h | 3 +++ firmware/export/config/ipodnano1g.h | 3 +++ firmware/export/config/ipodvideo.h | 3 +++ firmware/export/config/iriverh10.h | 3 +++ firmware/export/config/iriverh100.h | 3 +++ firmware/export/config/iriverh10_5gb.h | 3 +++ firmware/export/config/iriverh120.h | 3 +++ firmware/export/config/iriverh300.h | 3 +++ firmware/export/config/mrobe100.h | 3 +++ firmware/export/config/mrobe500.h | 3 +++ firmware/export/config/samsungyh820.h | 3 +++ firmware/export/config/samsungyh920.h | 3 +++ firmware/export/config/samsungyh925.h | 3 +++ firmware/export/config/tatungtpj1022.h | 3 +++ firmware/export/config/vibe500.h | 3 +++ firmware/export/config/zenvisionm30gb.h | 3 +++ firmware/export/config/zenvisionm60gb.h | 3 +++ 30 files changed, 90 insertions(+) diff --git a/firmware/export/config/creativezv.h b/firmware/export/config/creativezv.h index 9563945c45..0fd216aae6 100644 --- a/firmware/export/config/creativezv.h +++ b/firmware/export/config/creativezv.h @@ -39,6 +39,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* define this if you have a bitmap LCD display */ #define HAVE_LCD_BITMAP diff --git a/firmware/export/config/gigabeatfx.h b/firmware/export/config/gigabeatfx.h index 414fbbbbf6..23ffeb9820 100644 --- a/firmware/export/config/gigabeatfx.h +++ b/firmware/export/config/gigabeatfx.h @@ -13,6 +13,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* define this if you have a bitmap LCD display */ #define HAVE_LCD_BITMAP diff --git a/firmware/export/config/gigabeats.h b/firmware/export/config/gigabeats.h index ed8624b505..ccb191b9ca 100644 --- a/firmware/export/config/gigabeats.h +++ b/firmware/export/config/gigabeats.h @@ -18,6 +18,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* define this if you have a bitmap LCD display */ #define HAVE_LCD_BITMAP diff --git a/firmware/export/config/gogearhdd1630.h b/firmware/export/config/gogearhdd1630.h index 6be5e2daf2..4ba8d9288b 100644 --- a/firmware/export/config/gogearhdd1630.h +++ b/firmware/export/config/gogearhdd1630.h @@ -11,6 +11,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* define this if you have recording possibility */ #define HAVE_RECORDING diff --git a/firmware/export/config/gogearhdd6330.h b/firmware/export/config/gogearhdd6330.h index ddeeea658e..5bcd1c2c1e 100644 --- a/firmware/export/config/gogearhdd6330.h +++ b/firmware/export/config/gogearhdd6330.h @@ -11,6 +11,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* define this if you have recording possibility */ #define HAVE_RECORDING diff --git a/firmware/export/config/iaudiom3.h b/firmware/export/config/iaudiom3.h index 96b4ada136..08d8c39475 100644 --- a/firmware/export/config/iaudiom3.h +++ b/firmware/export/config/iaudiom3.h @@ -11,6 +11,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* 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 2bae6fed2d..f3ccbc0622 100644 --- a/firmware/export/config/iaudiom5.h +++ b/firmware/export/config/iaudiom5.h @@ -11,6 +11,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* 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 e332fe3728..ea7dfbc87e 100644 --- a/firmware/export/config/iaudiox5.h +++ b/firmware/export/config/iaudiox5.h @@ -11,6 +11,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* 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 628ce91d5a..6da48ab62f 100644 --- a/firmware/export/config/ipod1g2g.h +++ b/firmware/export/config/ipod1g2g.h @@ -13,6 +13,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* 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 c5177d33e7..471cb58b7f 100644 --- a/firmware/export/config/ipod3g.h +++ b/firmware/export/config/ipod3g.h @@ -14,6 +14,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* 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 09151cb468..61f12389d8 100644 --- a/firmware/export/config/ipod4g.h +++ b/firmware/export/config/ipod4g.h @@ -13,6 +13,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* 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 3eeed571d5..ba546e85cb 100644 --- a/firmware/export/config/ipodcolor.h +++ b/firmware/export/config/ipodcolor.h @@ -13,6 +13,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* define this if you have recording possibility */ #define HAVE_RECORDING diff --git a/firmware/export/config/ipodmini1g.h b/firmware/export/config/ipodmini1g.h index 02cd798fcf..2f261a8886 100644 --- a/firmware/export/config/ipodmini1g.h +++ b/firmware/export/config/ipodmini1g.h @@ -13,6 +13,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* 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 fd53a1564a..b9b4f48555 100644 --- a/firmware/export/config/ipodmini2g.h +++ b/firmware/export/config/ipodmini2g.h @@ -13,6 +13,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* define this if you have recording possibility */ /*#define HAVE_RECORDING*/ diff --git a/firmware/export/config/ipodnano1g.h b/firmware/export/config/ipodnano1g.h index 18d15e449e..33766bda26 100644 --- a/firmware/export/config/ipodnano1g.h +++ b/firmware/export/config/ipodnano1g.h @@ -13,6 +13,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* 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 0b288e4512..f5854b7b03 100644 --- a/firmware/export/config/ipodvideo.h +++ b/firmware/export/config/ipodvideo.h @@ -13,6 +13,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/* define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* define this if you have recording possibility */ #define HAVE_RECORDING diff --git a/firmware/export/config/iriverh10.h b/firmware/export/config/iriverh10.h index bda40f6659..95e643e3d8 100644 --- a/firmware/export/config/iriverh10.h +++ b/firmware/export/config/iriverh10.h @@ -11,6 +11,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* 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/iriverh100.h b/firmware/export/config/iriverh100.h index 62835c188e..5e09595b17 100644 --- a/firmware/export/config/iriverh100.h +++ b/firmware/export/config/iriverh100.h @@ -13,6 +13,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* define this if you have a bitmap LCD display */ #define HAVE_LCD_BITMAP diff --git a/firmware/export/config/iriverh10_5gb.h b/firmware/export/config/iriverh10_5gb.h index 7ff09273ad..4e901cc432 100644 --- a/firmware/export/config/iriverh10_5gb.h +++ b/firmware/export/config/iriverh10_5gb.h @@ -11,6 +11,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* 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/iriverh120.h b/firmware/export/config/iriverh120.h index 96309e4c22..24d1a2451e 100644 --- a/firmware/export/config/iriverh120.h +++ b/firmware/export/config/iriverh120.h @@ -12,6 +12,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* define this if you have a bitmap LCD display */ #define HAVE_LCD_BITMAP diff --git a/firmware/export/config/iriverh300.h b/firmware/export/config/iriverh300.h index b951c198b9..d21566f814 100644 --- a/firmware/export/config/iriverh300.h +++ b/firmware/export/config/iriverh300.h @@ -12,6 +12,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* define this if you have a bitmap LCD display */ #define HAVE_LCD_BITMAP diff --git a/firmware/export/config/mrobe100.h b/firmware/export/config/mrobe100.h index 6222ff9e33..8c707b54b3 100644 --- a/firmware/export/config/mrobe100.h +++ b/firmware/export/config/mrobe100.h @@ -11,6 +11,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* 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 0f443ebc4f..39f4051833 100644 --- a/firmware/export/config/mrobe500.h +++ b/firmware/export/config/mrobe500.h @@ -35,6 +35,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* Define this to add support for ATA DMA */ //#define HAVE_ATA_DMA diff --git a/firmware/export/config/samsungyh820.h b/firmware/export/config/samsungyh820.h index beaf6b0569..31e6c89219 100644 --- a/firmware/export/config/samsungyh820.h +++ b/firmware/export/config/samsungyh820.h @@ -105,6 +105,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* We're able to shut off power to the HDD */ /* todo #define HAVE_ATA_POWER_OFF */ diff --git a/firmware/export/config/samsungyh920.h b/firmware/export/config/samsungyh920.h index 11a98d79a9..c841b20995 100644 --- a/firmware/export/config/samsungyh920.h +++ b/firmware/export/config/samsungyh920.h @@ -112,6 +112,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* We're able to shut off power to the HDD */ /* todo #define HAVE_ATA_POWER_OFF */ diff --git a/firmware/export/config/samsungyh925.h b/firmware/export/config/samsungyh925.h index a0c3829b48..e962172af8 100644 --- a/firmware/export/config/samsungyh925.h +++ b/firmware/export/config/samsungyh925.h @@ -109,6 +109,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* We're able to shut off power to the HDD */ /* todo #define HAVE_ATA_POWER_OFF */ diff --git a/firmware/export/config/tatungtpj1022.h b/firmware/export/config/tatungtpj1022.h index a0a757b24b..bda08c8a3e 100644 --- a/firmware/export/config/tatungtpj1022.h +++ b/firmware/export/config/tatungtpj1022.h @@ -12,6 +12,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* define this if you have recording possibility */ /*#define HAVE_RECORDING*/ /* TODO: add support for this */ diff --git a/firmware/export/config/vibe500.h b/firmware/export/config/vibe500.h index 50873e71d8..4475908487 100644 --- a/firmware/export/config/vibe500.h +++ b/firmware/export/config/vibe500.h @@ -10,6 +10,9 @@ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* define this if you have recording possibility */ #define HAVE_RECORDING diff --git a/firmware/export/config/zenvisionm30gb.h b/firmware/export/config/zenvisionm30gb.h index b081d1925d..335257d102 100644 --- a/firmware/export/config/zenvisionm30gb.h +++ b/firmware/export/config/zenvisionm30gb.h @@ -39,6 +39,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* define this if you have a bitmap LCD display */ #define HAVE_LCD_BITMAP diff --git a/firmware/export/config/zenvisionm60gb.h b/firmware/export/config/zenvisionm60gb.h index 29c4208481..62353089f8 100644 --- a/firmware/export/config/zenvisionm60gb.h +++ b/firmware/export/config/zenvisionm60gb.h @@ -39,6 +39,9 @@ /* define this if you use an ATA controller */ #define CONFIG_STORAGE STORAGE_ATA +/*define this if the ATA controller and method of USB access support LBA48 */ +#define HAVE_LBA48 + /* define this if you have a bitmap LCD display */ #define HAVE_LCD_BITMAP -- cgit