From ba28fa4dc209d954bcdcc4ec6a733b161c7cde05 Mon Sep 17 00:00:00 2001 From: uch Date: Wed, 22 May 2002 15:01:33 +0000 Subject: [PATCH] change disklabel to 16 partition. no bsd area of the disk. --- sys/arch/sh3/include/disklabel.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/sys/arch/sh3/include/disklabel.h b/sys/arch/sh3/include/disklabel.h index 67717f21a7e1..b045ffa9c7d4 100644 --- a/sys/arch/sh3/include/disklabel.h +++ b/sys/arch/sh3/include/disklabel.h @@ -1,4 +1,4 @@ -/* $NetBSD: disklabel.h,v 1.3 2002/04/28 17:10:34 uch Exp $ */ +/* $NetBSD: disklabel.h,v 1.4 2002/05/22 15:01:33 uch Exp $ */ /* * Copyright (c) 1994 Christopher G. Demetriou @@ -35,8 +35,8 @@ #define LABELSECTOR 1 /* sector containing label */ #define LABELOFFSET 0 /* offset of label in sector */ -#define MAXPARTITIONS 8 /* number of partitions */ -#define RAW_PART 3 /* raw partition: XX?d (XXX) */ +#define MAXPARTITIONS 16 /* number of partitions */ +#define RAW_PART 2 /* Pull in MBR partition definitions. */ #include @@ -49,9 +49,4 @@ struct cpu_disklabel { }; #endif -#ifdef _KERNEL -struct disklabel; -int bounds_check_with_label(struct buf *, struct disklabel *, int); -#endif - #endif /* _MACHINE_DISKLABEL_H_ */