Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/ofppc/ofppc Support FAT filesystem on RDB partition.
details: https://anonhg.NetBSD.org/src/rev/fed27f6cd65d
branches: trunk
changeset: 770209:fed27f6cd65d
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Sat Oct 08 06:55:19 2011 +0000
description:
Support FAT filesystem on RDB partition.
diffstat:
sys/arch/ofppc/ofppc/disksubr.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (37 lines):
diff -r 349dda9f707e -r fed27f6cd65d sys/arch/ofppc/ofppc/disksubr.c
--- a/sys/arch/ofppc/ofppc/disksubr.c Sat Oct 08 00:56:54 2011 +0000
+++ b/sys/arch/ofppc/ofppc/disksubr.c Sat Oct 08 06:55:19 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: disksubr.c,v 1.23 2011/08/18 08:55:43 phx Exp $ */
+/* $NetBSD: disksubr.c,v 1.24 2011/10/08 06:55:19 kiyohara Exp $ */
/*-
* Copyright (c) 2010 Frank Wille.
@@ -63,7 +63,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.23 2011/08/18 08:55:43 phx Exp $");
+__KERNEL_RCSID(0, "$NetBSD: disksubr.c,v 1.24 2011/10/08 06:55:19 kiyohara Exp $");
#include "opt_disksubr.h"
@@ -448,6 +448,7 @@
case ADT_AMIX:
case ADT_EXT2:
case ADT_RAID:
+ case ADT_MSD:
case ADT_UNKNOWN:
pp = &lp->d_partitions[lp->d_npartitions];
break;
@@ -648,6 +649,10 @@
adt.archtype = ADT_RAID;
adt.fstype = FS_RAID;
return adt;
+ case DOST_MSD:
+ adt.archtype = ADT_MSD;
+ adt.fstype = FS_MSDOS;
+ return adt;
default:
#ifdef DIAGNOSTIC
printf("warning unknown dostype: 0x%lx marking unused\n",
Home |
Main Index |
Thread Index |
Old Index