From f4c7ec8de009e09634eb0390f5a19a2efd4a7472 Mon Sep 17 00:00:00 2001 From: Jason Downs Date: Mon, 10 Feb 1997 01:34:09 +0000 Subject: Support 16 partitions. --- sys/arch/hp300/include/disklabel.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'sys/arch/hp300/include/disklabel.h') 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_ */ -- cgit v1.2.3