summaryrefslogtreecommitdiff
path: root/sys/arch/mips
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-02-24 04:22:44 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-02-24 04:22:44 +0000
commitb0c1a4093f70777c9c358394a31b46450046ac54 (patch)
tree86c57776f5397f3f7fde3dfc1b48de9715098131 /sys/arch/mips
parentae282bbf6006021f712e1dd09b6d30d57b77e630 (diff)
rename some DOS MBR partition types
Diffstat (limited to 'sys/arch/mips')
-rw-r--r--sys/arch/mips/include/disklabel.h6
-rw-r--r--sys/arch/mips/mips/disksubr.c5
2 files changed, 7 insertions, 4 deletions
diff --git a/sys/arch/mips/include/disklabel.h b/sys/arch/mips/include/disklabel.h
index 5a94cf9a4d1..65ad34864dc 100644
--- a/sys/arch/mips/include/disklabel.h
+++ b/sys/arch/mips/include/disklabel.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: disklabel.h,v 1.2 1998/02/19 20:36:34 deraadt Exp $ */
+/* $OpenBSD: disklabel.h,v 1.3 1998/02/24 04:22:39 deraadt Exp $ */
/* $NetBSD: disklabel.h,v 1.3 1996/03/09 20:52:54 ghudson Exp $ */
/*
@@ -63,7 +63,9 @@ struct dos_partition {
#define DOSPTYP_FAT16S 0x04 /* 16-bit FAT, less than 32M */
#define DOSPTYP_EXTEND 0x05 /* Extended; contains sub-partitions */
#define DOSPTYP_FAT16B 0x06 /* 16-bit FAT, more than 32M */
-#define DOSPTYP_FAT16C 0x0e /* 16-bit FAT, CHS-mapped */
+#define DOSPTYP_FAT32 0x0b /* 32-bit FAT */
+#define DOSPTYP_FAT32L 0x0c /* 32-bit FAT, LBA-mapped */
+#define DOSPTYP_FAT16L 0x0e /* 16-bit FAT, LBA-mapped */
#define DOSPTYP_ONTRACK 0x54
#define DOSPTYP_LINUX 0x83 /* That other thing */
#define DOSPTYP_FREEBSD 0xa5 /* FreeBSD partition type */
diff --git a/sys/arch/mips/mips/disksubr.c b/sys/arch/mips/mips/disksubr.c
index e9394adacd5..8ee71293e04 100644
--- a/sys/arch/mips/mips/disksubr.c
+++ b/sys/arch/mips/mips/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.3 1998/02/21 11:54:40 pefo Exp $ */
+/* $OpenBSD: disksubr.c,v 1.4 1998/02/24 04:22:42 deraadt Exp $ */
/* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */
/*
@@ -220,8 +220,9 @@ donot:
case DOSPTYP_FAT12:
case DOSPTYP_FAT16S:
case DOSPTYP_FAT16B:
- case DOSPTYP_FAT16C:
case DOSPTYP_FAT32:
+ case DOSPTYP_FAT32L:
+ case DOSPTYP_FAT16L:
pp->p_fstype = FS_MSDOS;
n++;
break;