Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hp300/dev Account for changes to struct partition.
details: https://anonhg.NetBSD.org/src/rev/417ec4eebfbb
branches: trunk
changeset: 532023:417ec4eebfbb
user: thorpej <thorpej%NetBSD.org@localhost>
date: Thu May 30 19:03:50 2002 +0000
description:
Account for changes to struct partition.
diffstat:
sys/arch/hp300/dev/sd_compat.c | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diffs (41 lines):
diff -r 07a79ea8c7d5 -r 417ec4eebfbb sys/arch/hp300/dev/sd_compat.c
--- a/sys/arch/hp300/dev/sd_compat.c Thu May 30 18:54:55 2002 +0000
+++ b/sys/arch/hp300/dev/sd_compat.c Thu May 30 19:03:50 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sd_compat.c,v 1.8 2002/03/15 05:55:37 gmcgarry Exp $ */
+/* $NetBSD: sd_compat.c,v 1.9 2002/05/30 19:03:50 thorpej Exp $ */
/*
* Copyright (c) 1990, 1993
@@ -43,7 +43,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sd_compat.c,v 1.8 2002/03/15 05:55:37 gmcgarry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sd_compat.c,v 1.9 2002/05/30 19:03:50 thorpej Exp $");
#include <sys/param.h>
#include <sys/disklabel.h>
@@ -70,14 +70,14 @@
* H starts after D and is what ever is left (i.e. combo of E and F).
*/
struct partition sddefaultpart[] = {
- { 16384, 1024, 1024, FS_BSDFFS, 8 },
- { 65536, 17408, 0, FS_SWAP, 0 },
- { 0, 0, 0, FS_BOOT, 0 },
- { 98304, 17408, 0, FS_SWAP, 0 },
- { 102400, 115712, 1024, FS_BSDFFS, 8 },
- { 0, 218112, 1024, FS_BSDFFS, 8 },
- { 0, 82944, 1024, FS_BSDFFS, 8 },
- { 0, 115712, 1024, FS_BSDFFS, 8 }
+ { 16384, 1024, { .fsize = 1024 }, FS_BSDFFS, 8 },
+ { 65536, 17408, { .fsize = 0 }, FS_SWAP, 0 },
+ { 0, 0, { .fsize = 0 }, FS_BOOT, 0 },
+ { 98304, 17408, { .fsize = 0 }, FS_SWAP, 0 },
+ { 102400, 115712, { .fsize = 1024 }, FS_BSDFFS, 8 },
+ { 0, 218112, { .fsize = 1024 }, FS_BSDFFS, 8 },
+ { 0, 82944, { .fsize = 1024 }, FS_BSDFFS, 8 },
+ { 0, 115712, { .fsize = 1024 }, FS_BSDFFS, 8 }
};
int sdnumdefaultpart = sizeof(sddefaultpart)/sizeof(sddefaultpart[0]);
Home |
Main Index |
Thread Index |
Old Index