mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
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
This commit is contained in:
parent
4290051dd8
commit
bad4142ce2
30 changed files with 90 additions and 0 deletions
|
|
@ -39,6 +39,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 this if you have a bitmap LCD display */
|
||||||
#define HAVE_LCD_BITMAP
|
#define HAVE_LCD_BITMAP
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 this if you have a bitmap LCD display */
|
||||||
#define HAVE_LCD_BITMAP
|
#define HAVE_LCD_BITMAP
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 this if you have a bitmap LCD display */
|
||||||
#define HAVE_LCD_BITMAP
|
#define HAVE_LCD_BITMAP
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 this if you have recording possibility */
|
||||||
#define HAVE_RECORDING
|
#define HAVE_RECORDING
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 this if you have recording possibility */
|
||||||
#define HAVE_RECORDING
|
#define HAVE_RECORDING
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 this if you have recording possibility */
|
||||||
#define HAVE_RECORDING
|
#define HAVE_RECORDING
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 this if you have recording possibility */
|
||||||
#define HAVE_RECORDING
|
#define HAVE_RECORDING
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 this if you have recording possibility */
|
||||||
#define HAVE_RECORDING
|
#define HAVE_RECORDING
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 this if you have recording possibility
|
||||||
#define HAVE_RECORDING */
|
#define HAVE_RECORDING */
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 this if you have recording possibility */
|
||||||
/*#define HAVE_RECORDING*/
|
/*#define HAVE_RECORDING*/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 this if you have recording possibility */
|
||||||
#define HAVE_RECORDING
|
#define HAVE_RECORDING
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 this if you have recording possibility */
|
||||||
#define HAVE_RECORDING
|
#define HAVE_RECORDING
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 this if you have recording possibility */
|
||||||
/*#define HAVE_RECORDING*/
|
/*#define HAVE_RECORDING*/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 this if you have recording possibility */
|
||||||
/*#define HAVE_RECORDING*/
|
/*#define HAVE_RECORDING*/
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 this if you have recording possibility */
|
||||||
#define HAVE_RECORDING
|
#define HAVE_RECORDING
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 this if you have recording possibility */
|
||||||
#define HAVE_RECORDING
|
#define HAVE_RECORDING
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 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
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 this if you have a bitmap LCD display */
|
||||||
#define HAVE_LCD_BITMAP
|
#define HAVE_LCD_BITMAP
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 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
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 this if you have a bitmap LCD display */
|
||||||
#define HAVE_LCD_BITMAP
|
#define HAVE_LCD_BITMAP
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 this if you have a bitmap LCD display */
|
||||||
#define HAVE_LCD_BITMAP
|
#define HAVE_LCD_BITMAP
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 this if you have a bitmap LCD display */
|
||||||
#define HAVE_LCD_BITMAP
|
#define HAVE_LCD_BITMAP
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 this to add support for ATA DMA */
|
||||||
//#define HAVE_ATA_DMA
|
//#define HAVE_ATA_DMA
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -105,6 +105,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 */
|
/* We're able to shut off power to the HDD */
|
||||||
/* todo #define HAVE_ATA_POWER_OFF */
|
/* todo #define HAVE_ATA_POWER_OFF */
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -112,6 +112,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 */
|
/* We're able to shut off power to the HDD */
|
||||||
/* todo #define HAVE_ATA_POWER_OFF */
|
/* todo #define HAVE_ATA_POWER_OFF */
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -109,6 +109,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 */
|
/* We're able to shut off power to the HDD */
|
||||||
/* todo #define HAVE_ATA_POWER_OFF */
|
/* todo #define HAVE_ATA_POWER_OFF */
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 this if you have recording possibility */
|
||||||
/*#define HAVE_RECORDING*/ /* TODO: add support for this */
|
/*#define HAVE_RECORDING*/ /* TODO: add support for this */
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,9 @@
|
||||||
|
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 this if you have recording possibility */
|
||||||
#define HAVE_RECORDING
|
#define HAVE_RECORDING
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 this if you have a bitmap LCD display */
|
||||||
#define HAVE_LCD_BITMAP
|
#define HAVE_LCD_BITMAP
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,9 @@
|
||||||
/* define this if you use an ATA controller */
|
/* define this if you use an ATA controller */
|
||||||
#define CONFIG_STORAGE STORAGE_ATA
|
#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 this if you have a bitmap LCD display */
|
||||||
#define HAVE_LCD_BITMAP
|
#define HAVE_LCD_BITMAP
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue