diff options
author | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-05-14 18:55:19 +0000 |
---|---|---|
committer | Maurus Cuelenaere <mcuelenaere@gmail.com> | 2008-05-14 18:55:19 +0000 |
commit | e031db4b87609ab11e62f44166058df1ac790fb3 (patch) | |
tree | 3a8867dcf1d8f1106beeed9016943cfe540c2ab9 /firmware/common | |
parent | 727a8059d7f4d04fb938f14a564ea954256ef72d (diff) | |
download | rockbox-e031db4b87609ab11e62f44166058df1ac790fb3.tar.gz rockbox-e031db4b87609ab11e62f44166058df1ac790fb3.zip |
1) Use a separate config-<target>.h for Zen Vision(:M) (60GB)
2) Other unrelated cleanups
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17503 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common')
-rw-r--r-- | firmware/common/disk.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/common/disk.c b/firmware/common/disk.c index 653f17e946..27b79755e7 100644 --- a/firmware/common/disk.c +++ b/firmware/common/disk.c | |||
@@ -68,7 +68,7 @@ struct partinfo* disk_init(IF_MV_NONVOID(int drive)) | |||
68 | #endif | 68 | #endif |
69 | 69 | ||
70 | ata_read_sectors(IF_MV2(drive,) 0,1, §or); | 70 | ata_read_sectors(IF_MV2(drive,) 0,1, §or); |
71 | #ifndef CREATIVE_ZVM | 71 | #ifndef CREATIVE_ZVx |
72 | /* check that the boot sector is initialized */ | 72 | /* check that the boot sector is initialized */ |
73 | if ( (sector[510] != 0x55) || | 73 | if ( (sector[510] != 0x55) || |
74 | (sector[511] != 0xaa)) { | 74 | (sector[511] != 0xaa)) { |
@@ -187,7 +187,7 @@ int disk_mount(int drive) | |||
187 | { | 187 | { |
188 | return 0; | 188 | return 0; |
189 | } | 189 | } |
190 | #if defined(TOSHIBA_GIGABEAT_S) ||defined(CREATIVE_ZVM) | 190 | #if defined(TOSHIBA_GIGABEAT_S) || defined(CREATIVE_ZVx) |
191 | int i = 1; /* For the Gigabeat S, we mount the second partition */ | 191 | int i = 1; /* For the Gigabeat S, we mount the second partition */ |
192 | #else | 192 | #else |
193 | int i = 0; | 193 | int i = 0; |