summaryrefslogtreecommitdiff
path: root/sys/arch/alpha/include
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-04-07 06:21:40 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-04-07 06:21:40 +0000
commit05a1db3a7bca9a4cba1f16e930156616227f7fd7 (patch)
tree375b6f0ae859561b8fde9b8f5856ead7efc11f91 /sys/arch/alpha/include
parent974b2c40cd64e44b24c2099146446c68069b013a (diff)
16 partitions
Diffstat (limited to 'sys/arch/alpha/include')
-rw-r--r--sys/arch/alpha/include/disklabel.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/arch/alpha/include/disklabel.h b/sys/arch/alpha/include/disklabel.h
index 0bdfb430483..c15f1e71dee 100644
--- a/sys/arch/alpha/include/disklabel.h
+++ b/sys/arch/alpha/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.3 1996/10/30 22:38:59 niklas Exp $ */
+/* $OpenBSD: disklabel.h,v 1.4 1997/04/07 06:21:37 millert Exp $ */
/* $NetBSD: disklabel.h,v 1.1 1995/02/13 23:07:34 cgd Exp $ */
/*
@@ -36,7 +36,7 @@
#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 RAW_PART 2 /* raw partition: xx?c */
/* Just a dummy */
@@ -44,4 +44,9 @@ struct cpu_disklabel {
int cd_dummy; /* must have one element. */
};
+#ifdef _KERNEL
+struct disklabel;
+int bounds_check_with_label __P((struct buf *, struct disklabel *, int));
+#endif
+
#endif /* _MACHINE_DISKLABEL_H_ */