summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/include
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1997-02-10 01:34:09 +0000
committerJason Downs <downsj@cvs.openbsd.org>1997-02-10 01:34:09 +0000
commitf4c7ec8de009e09634eb0390f5a19a2efd4a7472 (patch)
tree25e712eb41a0b15c25f0616a1326cfcf30fd3a7b /sys/arch/hp300/include
parent584c603b312f9885942192cafaf545ad68cd4d62 (diff)
Support 16 partitions.
Diffstat (limited to 'sys/arch/hp300/include')
-rw-r--r--sys/arch/hp300/include/disklabel.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/arch/hp300/include/disklabel.h b/sys/arch/hp300/include/disklabel.h
index 883ac3b1005..98c0a7ce943 100644
--- a/sys/arch/hp300/include/disklabel.h
+++ b/sys/arch/hp300/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.2 1997/01/12 15:13:34 downsj Exp $ */
+/* $OpenBSD: disklabel.h,v 1.3 1997/02/10 01:33:58 downsj Exp $ */
/* $NetBSD: disklabel.h,v 1.1 1994/10/14 18:26:39 cgd Exp $ */
/*
@@ -36,7 +36,7 @@
#define LABELSECTOR (1024 / DEV_BSIZE) /* sector containing label */
#define LABELOFFSET 0 /* 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_ */