summaryrefslogtreecommitdiff
path: root/sys/arch/arc/include/disklabel.h
diff options
context:
space:
mode:
authorPer Fogelstrom <pefo@cvs.openbsd.org>1996-08-26 11:01:36 +0000
committerPer Fogelstrom <pefo@cvs.openbsd.org>1996-08-26 11:01:36 +0000
commitef07c22c840b23bc16ae54b719b728ba6df75d23 (patch)
tree693236cc7636f0b05d9872fec5ded943802d8561 /sys/arch/arc/include/disklabel.h
parent6abff861f5dfd71dc8ba040df583c352f5b282dc (diff)
Allow for 16 partition disklabels, hepp!
Diffstat (limited to 'sys/arch/arc/include/disklabel.h')
-rw-r--r--sys/arch/arc/include/disklabel.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/arc/include/disklabel.h b/sys/arch/arc/include/disklabel.h
index eefe2733114..d02f56f5120 100644
--- a/sys/arch/arc/include/disklabel.h
+++ b/sys/arch/arc/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.1 1996/06/24 09:07:17 pefo Exp $ */
+/* $OpenBSD: disklabel.h,v 1.2 1996/08/26 11:01:35 pefo Exp $ */
/* $NetBSD: disklabel.h,v 1.2 1995/01/18 06:37:55 mellon Exp $ */
/*
@@ -36,7 +36,9 @@
#define LABELSECTOR 0 /* sector containing label */
#define LABELOFFSET 64 /* offset of label in sector */
-#define MAXPARTITIONS 8 /* number of partitions */
+#define MAXPARTITIONS 16 /* number of partitions */
+#define PARTITIONSHIFT 4 /* log2 */
+#define PARTITIONMASK 0xf
#define RAW_PART 2 /* raw partition: xx?c */
/* DOS partition table -- used when the system is booted from a dos