diff options
| author | Torne Wuff <torne@wolfpuppy.org.uk> | 2010-04-09 12:10:17 +0000 |
|---|---|---|
| committer | Torne Wuff <torne@wolfpuppy.org.uk> | 2010-04-09 12:10:17 +0000 |
| commit | bad4142ce2eb1d2e5311cc3fab416b6544ca4634 (patch) | |
| tree | 5dc69c2a98d26c653766a407564ad11206717449 | |
| parent | 4290051dd8e0655a9f18ec478550f8b01fb16262 (diff) | |
| download | rockbox-bad4142ce2eb1d2e5311cc3fab416b6544ca4634.zip rockbox-bad4142ce2eb1d2e5311cc3fab416b6544ca4634.tar.gz rockbox-bad4142ce2eb1d2e5311cc3fab416b6544ca4634.tar.bz2 rockbox-bad4142ce2eb1d2e5311cc3fab416b6544ca4634.tar.xz | |
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
30 files changed, 90 insertions, 0 deletions
diff --git a/firmware/export/config/creativezv.h b/firmware/export/config/creativezv.h index 9563945..0fd216a 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 414fbbb..23ffeb9 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 ed8624b..ccb191b 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 6be5e2d..4ba8d92 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 ddeeea6..5bcd1c2 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 96b4ada..08d8c39 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 2bae6fe..f3ccbc0 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 e332fe3..ea7dfbc 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 628ce91..6da48ab 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 c5177d3..471cb58 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 09151cb..61f1238 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 3eeed57..ba546e8 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 02cd798..2f261a8 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 fd53a15..b9b4f48 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 18d15e4..33766bd 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 0b288e4..f5854b7 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 bda40f6..95e643e 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 62835c1..5e09595 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 7ff0927..4e901cc 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 96309e4..24d1a24 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 b951c19..d21566f 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 6222ff9..8c707b5 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 0f443eb..39f4051 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 beaf6b0..31e6c89 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 11a98d7..c841b20 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 a0c3829..e962172 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 a0a757b..bda08c8 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 50873e7..4475908 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 b081d19..335257d 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 29c4208..6235308 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 |