1122780Salc/*	$NetBSD: conf.c,v 1.1 1997/06/01 03:39:33 mrg Exp $ */
2269577Sglebius
3122780Salc/*
4122780Salc * Copyright (c) 1993 Philip A. Nelson.
5122780Salc * All rights reserved.
6122780Salc *
7122780Salc * Redistribution and use in source and binary forms, with or without
8122780Salc * modification, are permitted provided that the following conditions
9122780Salc * are met:
10122780Salc * 1. Redistributions of source code must retain the above copyright
11122780Salc *    notice, this list of conditions and the following disclaimer.
12122780Salc * 2. Redistributions in binary form must reproduce the above copyright
13122780Salc *    notice, this list of conditions and the following disclaimer in the
14122780Salc *    documentation and/or other materials provided with the distribution.
15122780Salc * 3. All advertising materials mentioning features or use of this software
16122780Salc *    must display the following acknowledgement:
17122780Salc *	This product includes software developed by Philip A. Nelson.
18122780Salc * 4. The name of Philip A. Nelson may not be used to endorse or promote
19122780Salc *    products derived from this software without specific prior written
20122780Salc *    permission.
21122780Salc *
22122780Salc * THIS SOFTWARE IS PROVIDED BY PHILIP NELSON ``AS IS'' AND ANY EXPRESS OR
23122780Salc * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
24122780Salc * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
25122780Salc * IN NO EVENT SHALL PHILIP NELSON BE LIABLE FOR ANY DIRECT, INDIRECT,
26122780Salc * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
27122780Salc * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
28122780Salc * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
29122780Salc * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
30122780Salc * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
31122780Salc * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32269577Sglebius */
33269577Sglebius
34122780Salc#include <lib/libsa/stand.h>
35122780Salc#include <lib/libsa/ufs.h>
36#include <netinet/in.h>
37#include <lib/libsa/nfs.h>
38
39struct fs_ops file_system_ufs[] = {
40	FS_OPS(ffsv1),
41	FS_OPS(ffsv2)
42};
43
44struct fs_ops file_system_nfs[] = {
45	FS_OPS(nfs)
46};
47
48struct fs_ops file_system[2];
49int nfsys = __arraycount(file_system);
50