summaryrefslogtreecommitdiff
path: root/sys/arch/ofppc/include
diff options
context:
space:
mode:
authordrochner <drochner@NetBSD.org>1998-03-02 16:18:17 +0000
committerdrochner <drochner@NetBSD.org>1998-03-02 16:18:17 +0000
commit3bb9e758633db58da9cf6d64e1b3c169497a56f2 (patch)
treee0e8f867c6b14082321a34d1443f7057d6ff04b9 /sys/arch/ofppc/include
parent6d339338e64cb521400d053f855fc7a52da74f8b (diff)
Change MBR partition type for NetBSD to 0xa9, like the i386 port.
Provide compatibility via COMPAT_386BSD_MBRPART.
Diffstat (limited to 'sys/arch/ofppc/include')
-rw-r--r--sys/arch/ofppc/include/disklabel.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/ofppc/include/disklabel.h b/sys/arch/ofppc/include/disklabel.h
index 1706b02603d..2778ceb6563 100644
--- a/sys/arch/ofppc/include/disklabel.h
+++ b/sys/arch/ofppc/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $NetBSD: disklabel.h,v 1.2 1997/04/16 22:55:10 thorpej Exp $ */
+/* $NetBSD: disklabel.h,v 1.3 1998/03/02 16:18:17 drochner Exp $ */
/*-
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -61,7 +61,8 @@ struct mbr_partition {
/* Known partition types: */
#define MBR_EXTENDED 0x05 /* Extended partition */
-#define MBR_NETBSD 0xa5 /* NetBSD partition */
+#define MBR_NETBSD 0xa9 /* NetBSD partition */
+#define MBR_386BSD 0xa5 /* 386BSD partition */
/* For compatibility reasons (mainly for fdisk): */
#define dos_partition mbr_partition
@@ -79,7 +80,7 @@ struct mbr_partition {
#define DOSPARTOFF MBRPARTOFF
#define NDOSPART NMBRPART
-#define DOSPTYP_386BSD MBR_NETBSD
+#define DOSPTYP_NETBSD MBR_NETBSD
struct cpu_disklabel {
int cd_start; /* Offset to NetBSD partition in blocks */