Module Name: src Committed By: matt Date: Fri Jun 28 01:13:40 UTC 2013
Modified Files: src/sys/arch/vax/boot/boot: conf.c src/sys/arch/vax/boot/xxboot: bootxx.c Log Message: ufs -> ffsv1 (ffsv2 is commentout due to size limitations) To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/arch/vax/boot/boot/conf.c cvs rdiff -u -r1.36 -r1.37 src/sys/arch/vax/boot/xxboot/bootxx.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/vax/boot/boot/conf.c diff -u src/sys/arch/vax/boot/boot/conf.c:1.15 src/sys/arch/vax/boot/boot/conf.c:1.16 --- src/sys/arch/vax/boot/boot/conf.c:1.15 Wed Mar 18 16:00:15 2009 +++ src/sys/arch/vax/boot/boot/conf.c Fri Jun 28 01:13:40 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: conf.c,v 1.15 2009/03/18 16:00:15 cegger Exp $ */ +/* $NetBSD: conf.c,v 1.16 2013/06/28 01:13:40 matt Exp $ */ /* * Copyright (c) 1994 Ludd, University of Lule}, Sweden. * All rights reserved. @@ -88,13 +88,14 @@ int cnvtab[] = { int ndevs = (sizeof(devsw)/sizeof(devsw[0])); struct fs_ops file_system[] = { - FS_OPS(ufs), + FS_OPS(ffsv1), + //FS_OPS(ffsv2), FS_OPS(nfs), FS_OPS(cd9660), FS_OPS(ustarfs), }; -int nfsys = (sizeof(file_system) / sizeof(struct fs_ops)); +int nfsys = __arraycount(file_system); int nostrategy(void *f, int func, daddr_t dblk, Index: src/sys/arch/vax/boot/xxboot/bootxx.c diff -u src/sys/arch/vax/boot/xxboot/bootxx.c:1.36 src/sys/arch/vax/boot/xxboot/bootxx.c:1.37 --- src/sys/arch/vax/boot/xxboot/bootxx.c:1.36 Fri Sep 18 21:40:09 2009 +++ src/sys/arch/vax/boot/xxboot/bootxx.c Fri Jun 28 01:13:40 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: bootxx.c,v 1.36 2009/09/18 21:40:09 mhitch Exp $ */ +/* $NetBSD: bootxx.c,v 1.37 2013/06/28 01:13:40 matt Exp $ */ /*- * Copyright (c) 1982, 1986 The Regents of the University of California. @@ -186,7 +186,8 @@ die: */ struct fs_ops file_system[] = { #ifdef NEED_UFS - { ufs_open, 0, ufs_read, 0, 0, ufs_stat }, + { ffsv1_open, 0, ffsv1_read, 0, 0, ffsv1_stat }, + //{ ffsv2_open, 0, ffsv2_read, 0, 0, ffsv2_stat }, #endif #ifdef NEED_CD9660 { cd9660_open, 0, cd9660_read, 0, 0, cd9660_stat }, @@ -196,7 +197,7 @@ struct fs_ops file_system[] = { #endif }; -int nfsys = (sizeof(file_system) / sizeof(struct fs_ops)); +int nfsys = __arraycount(file_system); #if 0 int tar_open(char *path, struct open_file *f);