From c5d71aab1677741d445367820f78b0c85a6f4cde Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 23 May 2007 17:51:18 +0000 Subject: 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 --- firmware/export/config-ipodvideo.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'firmware/export/config-ipodvideo.h') 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 @@ /* define this if the device has larger sectors when accessed via USB */ /* (only relevant in disk.c, fat.c now always supports large virtual sectors) */ -#define MAX_SECTOR_SIZE 2048 +#define MAX_LOG_SECTOR_SIZE 2048 + +/* define this if the hard drive uses large physical sectors (ATA-7 feature) */ +/* and doesn't handle them in the drive firmware */ +#define MAX_PHYS_SECTOR_SIZE 1024 #define BOOTFILE_EXT "ipod" #define BOOTFILE "rockbox." BOOTFILE_EXT -- cgit v1.2.3