summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruch <uch@NetBSD.org>2002-05-22 15:01:33 +0000
committeruch <uch@NetBSD.org>2002-05-22 15:01:33 +0000
commitba28fa4dc209d954bcdcc4ec6a733b161c7cde05 (patch)
treeafe5a9ec5625a06905a8f93744b3ac83b90f1a17
parentf2679ef4e32ecdf0e99a397ef59716d8899da5f2 (diff)
change disklabel to
16 partition. no bsd area of the disk.
-rw-r--r--sys/arch/sh3/include/disklabel.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/sys/arch/sh3/include/disklabel.h b/sys/arch/sh3/include/disklabel.h
index 67717f21a7e..b045ffa9c7d 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 <sys/disklabel_mbr.h>
@@ -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_ */