summaryrefslogtreecommitdiffstats
path: root/cpukit/libblock/include/rtems/ide_part_table.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2003-03-25 17:01:52 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2003-03-25 17:01:52 +0000
commitdbe06865bfc174d2cfe89b7a41f194301fd48aa3 (patch)
tree2be8d009e9a483271dab57bb2b4d1d40badafeac /cpukit/libblock/include/rtems/ide_part_table.h
parent2003-03-25 Thomas Doerfler <Thomas.Doerfler@imd-systems.de> (diff)
downloadrtems-dbe06865bfc174d2cfe89b7a41f194301fd48aa3.tar.bz2
2003-03-25 Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
PR 367/filesystem * Makefile.am, include/rtems/ide_part_table.h, src/ata.c, src/ide_part_table.c: Some bugs were still present in the DOSFS implementation: - FAT12 did not work properly on Big-Endian machines - Some synchronization and error handling problems were present - Some legal codings for EOC were not recognized
Diffstat (limited to 'cpukit/libblock/include/rtems/ide_part_table.h')
-rw-r--r--cpukit/libblock/include/rtems/ide_part_table.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/cpukit/libblock/include/rtems/ide_part_table.h b/cpukit/libblock/include/rtems/ide_part_table.h
index 79d3f7710a..2990ae6eeb 100644
--- a/cpukit/libblock/include/rtems/ide_part_table.h
+++ b/cpukit/libblock/include/rtems/ide_part_table.h
@@ -86,10 +86,17 @@ typedef struct sector_data_s
/*
* Enum partition types
+ * see list at http://ata-atapi.com/hiwtab.htm
*/
enum {
- EMPTY_PARTITION = 0,
- EXTENDED_PARTITION = 5,
+ EMPTY_PARTITION = 0x00,
+ DOS_FAT12_PARTITION = 0x01,
+ DOS_FAT16_PARTITION = 0x04,
+ EXTENDED_PARTITION = 0x05,
+ DOS_P32MB_PARTITION = 0x06,
+ FAT32_PARTITION = 0x0B,
+ FAT32_LBA_PARTITION = 0x0C,
+ FAT16_LBA_PARTITION = 0x0E,
DM6_PARTITION = 0x54,
EZD_PARTITION = 0x55,
DM6_AUX1PARTITION = 0x51,