Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/news68k/stand/boot Add ustarfs ops.
details: https://anonhg.NetBSD.org/src/rev/3128845182a1
branches: trunk
changeset: 526283:3128845182a1
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Tue Apr 30 13:09:05 2002 +0000
description:
Add ustarfs ops.
diffstat:
sys/arch/news68k/stand/boot/devopen.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r 8af69a3b8337 -r 3128845182a1 sys/arch/news68k/stand/boot/devopen.c
--- a/sys/arch/news68k/stand/boot/devopen.c Tue Apr 30 13:08:01 2002 +0000
+++ b/sys/arch/news68k/stand/boot/devopen.c Tue Apr 30 13:09:05 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: devopen.c,v 1.2 2002/04/30 01:07:26 tsutsui Exp $ */
+/* $NetBSD: devopen.c,v 1.3 2002/04/30 13:09:05 tsutsui Exp $ */
/*-
* Copyright (C) 1999 Tsubai Masanari. All rights reserved.
@@ -29,6 +29,7 @@
#include <lib/libkern/libkern.h>
#include <lib/libsa/stand.h>
#include <lib/libsa/ufs.h>
+#include <lib/libsa/ustarfs.h>
#include <machine/romcall.h>
@@ -48,7 +49,9 @@
int ndevs = sizeof(devsw) / sizeof(devsw[0]);
struct fs_ops file_system[] = {
- { ufs_open, ufs_close, ufs_read, ufs_write, ufs_seek, ufs_stat }
+ { ufs_open, ufs_close, ufs_read, ufs_write, ufs_seek, ufs_stat },
+ { ustarfs_open, ustarfs_close, ustarfs_read, ustarfs_write,
+ ustarfs_seek, ustarfs_stat }
};
int nfsys = sizeof(file_system) / sizeof(file_system[0]);
Home |
Main Index |
Thread Index |
Old Index