1139738Simp/*- 283364Sdfr * Copyright (c) 1997 383364Sdfr * Matthias Drochner. All rights reserved. 483364Sdfr * 583364Sdfr * Redistribution and use in source and binary forms, with or without 683364Sdfr * modification, are permitted provided that the following conditions 783364Sdfr * are met: 883364Sdfr * 1. Redistributions of source code must retain the above copyright 983364Sdfr * notice, this list of conditions and the following disclaimer. 1083364Sdfr * 2. Redistributions in binary form must reproduce the above copyright 1183364Sdfr * notice, this list of conditions and the following disclaimer in the 1283364Sdfr * documentation and/or other materials provided with the distribution. 1383364Sdfr * 3. All advertising materials mentioning features or use of this software 1483364Sdfr * must display the following acknowledgement: 1583364Sdfr * This product includes software developed for the NetBSD Project 1683364Sdfr * by Matthias Drochner. 1783364Sdfr * 4. The name of the author may not be used to endorse or promote products 1883364Sdfr * derived from this software without specific prior written permission. 1983364Sdfr * 2083364Sdfr * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 2183364Sdfr * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 2283364Sdfr * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 2383364Sdfr * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 2483364Sdfr * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 2583364Sdfr * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2683364Sdfr * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2783364Sdfr * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2883364Sdfr * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 2983364Sdfr * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 3083364Sdfr * 3183364Sdfr * $NetBSD: conf.c,v 1.2 1997/03/22 09:03:29 thorpej Exp $ 3283364Sdfr */ 3383364Sdfr 34113038Sobrien#include <sys/cdefs.h> 35113038Sobrien__FBSDID("$FreeBSD$"); 3683364Sdfr 3783364Sdfr#include <stand.h> 3883364Sdfr 3983364Sdfr#include "libski.h" 4083364Sdfr 4183364Sdfr/* 4283364Sdfr * We could use linker sets for some or all of these, but 4383364Sdfr * then we would have to control what ended up linked into 4483364Sdfr * the bootstrap. So it's easier to conditionalise things 4583364Sdfr * here. 4683364Sdfr * 4783364Sdfr * XXX rename these arrays to be consistent and less namespace-hostile 4883364Sdfr */ 4983364Sdfr 5083364Sdfr/* Exported for libstand */ 5183364Sdfrstruct devsw *devsw[] = { 5283364Sdfr &skifs_dev, 5383364Sdfr NULL 5483364Sdfr}; 5583364Sdfr 5683364Sdfrstruct fs_ops *file_system[] = { 5783364Sdfr &ski_fsops, 5883364Sdfr &ufs_fsops, 59108100Sjake &gzipfs_fsops, 6083364Sdfr NULL 6183364Sdfr}; 6283364Sdfr 6383364Sdfr/* 6483364Sdfr * Consoles 6583364Sdfr * 66158467Sjhb * We don't prototype these in libski.h because they require 6783364Sdfr * data structures from bootstrap.h as well. 6883364Sdfr */ 6983364Sdfrextern struct console ski_console; 7083364Sdfr 7183364Sdfrstruct console *consoles[] = { 7283364Sdfr &ski_console, 7383364Sdfr NULL 7483364Sdfr}; 75