summaryrefslogtreecommitdiff
path: root/block/partitions/sun.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/partitions/sun.c')
-rw-r--r--block/partitions/sun.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/block/partitions/sun.c b/block/partitions/sun.c
index 28b44100f2b1..47dc53eccf77 100644
--- a/block/partitions/sun.c
+++ b/block/partitions/sun.c
@@ -13,6 +13,11 @@
#define SUN_LABEL_MAGIC 0xDABE
#define SUN_VTOC_SANITY 0x600DDEEE
+enum {
+ SUN_WHOLE_DISK = 5,
+ LINUX_RAID_PARTITION = 0xfd, /* autodetect RAID partition */
+};
+
int sun_partition(struct parsed_partitions *state)
{
int i;