xref: /netbsd-src/sys/arch/sparc/stand/common/conf.c (revision abb05145d70a6ab919bf91c320c484d76ada2ab0)
1*abb05145Stsutsui /*	$NetBSD: conf.c,v 1.2 2008/04/05 06:39:08 tsutsui Exp $ */
27cedf69cSmrg 
37cedf69cSmrg /*
47cedf69cSmrg  * Copyright (c) 1993 Philip A. Nelson.
57cedf69cSmrg  * All rights reserved.
67cedf69cSmrg  *
77cedf69cSmrg  * Redistribution and use in source and binary forms, with or without
87cedf69cSmrg  * modification, are permitted provided that the following conditions
97cedf69cSmrg  * are met:
107cedf69cSmrg  * 1. Redistributions of source code must retain the above copyright
117cedf69cSmrg  *    notice, this list of conditions and the following disclaimer.
127cedf69cSmrg  * 2. Redistributions in binary form must reproduce the above copyright
137cedf69cSmrg  *    notice, this list of conditions and the following disclaimer in the
147cedf69cSmrg  *    documentation and/or other materials provided with the distribution.
157cedf69cSmrg  * 3. All advertising materials mentioning features or use of this software
167cedf69cSmrg  *    must display the following acknowledgement:
177cedf69cSmrg  *	This product includes software developed by Philip A. Nelson.
187cedf69cSmrg  * 4. The name of Philip A. Nelson may not be used to endorse or promote
197cedf69cSmrg  *    products derived from this software without specific prior written
207cedf69cSmrg  *    permission.
217cedf69cSmrg  *
227cedf69cSmrg  * THIS SOFTWARE IS PROVIDED BY PHILIP NELSON ``AS IS'' AND ANY EXPRESS OR
237cedf69cSmrg  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
247cedf69cSmrg  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
257cedf69cSmrg  * IN NO EVENT SHALL PHILIP NELSON BE LIABLE FOR ANY DIRECT, INDIRECT,
267cedf69cSmrg  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
277cedf69cSmrg  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
287cedf69cSmrg  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
297cedf69cSmrg  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
307cedf69cSmrg  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
317cedf69cSmrg  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
327cedf69cSmrg  */
337cedf69cSmrg 
347cedf69cSmrg #include <lib/libsa/stand.h>
357cedf69cSmrg #include <lib/libsa/ufs.h>
367cedf69cSmrg #include <netinet/in.h>
377cedf69cSmrg #include <lib/libsa/nfs.h>
387cedf69cSmrg 
397cedf69cSmrg struct fs_ops file_system_ufs[] = {
40*abb05145Stsutsui 	FS_OPS(ffsv1),
41*abb05145Stsutsui 	FS_OPS(ffsv2)
427cedf69cSmrg };
43*abb05145Stsutsui 
447cedf69cSmrg struct fs_ops file_system_nfs[] = {
45*abb05145Stsutsui 	FS_OPS(nfs)
467cedf69cSmrg };
47*abb05145Stsutsui 
48*abb05145Stsutsui struct fs_ops file_system[2];
49*abb05145Stsutsui int nfsys = __arraycount(file_system);
50