diff options
author | Jens Arnold <amiconn@rockbox.org> | 2007-05-23 17:51:18 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2007-05-23 17:51:18 +0000 |
commit | c5d71aab1677741d445367820f78b0c85a6f4cde (patch) | |
tree | 2d547276eaec8dc1bef0133bd01dd54d92ae8694 /firmware/export/config-ipodvideo.h | |
parent | c5302d5101962ea21265a271c2494cacea088fea (diff) | |
download | rockbox-c5d71aab1677741d445367820f78b0c85a6f4cde.tar.gz rockbox-c5d71aab1677741d445367820f78b0c85a6f4cde.zip |
ATA driver: * Support for drives with large physical sectors and no support for partial access in the firmware (i.e. Toshiba MK8010GAH - iPod G5.5/80GB). Sequential writes with a single 512-byte buffer to that disk are really slow, so this is an intermediate solution that allows to adjust the FAT driver and the file system gradually. * Assume multisectors = 16 if the value reported by the drive is invalid (also MK8010GAH).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13480 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/config-ipodvideo.h')
-rw-r--r-- | firmware/export/config-ipodvideo.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/export/config-ipodvideo.h b/firmware/export/config-ipodvideo.h index b2b4ae9856..46411a7784 100644 --- a/firmware/export/config-ipodvideo.h +++ b/firmware/export/config-ipodvideo.h | |||
@@ -141,7 +141,11 @@ | |||
141 | 141 | ||
142 | /* define this if the device has larger sectors when accessed via USB */ | 142 | /* define this if the device has larger sectors when accessed via USB */ |
143 | /* (only relevant in disk.c, fat.c now always supports large virtual sectors) */ | 143 | /* (only relevant in disk.c, fat.c now always supports large virtual sectors) */ |
144 | #define MAX_SECTOR_SIZE 2048 | 144 | #define MAX_LOG_SECTOR_SIZE 2048 |
145 | |||
146 | /* define this if the hard drive uses large physical sectors (ATA-7 feature) */ | ||
147 | /* and doesn't handle them in the drive firmware */ | ||
148 | #define MAX_PHYS_SECTOR_SIZE 1024 | ||
145 | 149 | ||
146 | #define BOOTFILE_EXT "ipod" | 150 | #define BOOTFILE_EXT "ipod" |
147 | #define BOOTFILE "rockbox." BOOTFILE_EXT | 151 | #define BOOTFILE "rockbox." BOOTFILE_EXT |