1*e144281cSmrg /* $NetBSD: ofdev.h,v 1.1 2000/08/20 14:58:41 mrg Exp $ */ 2*e144281cSmrg 3*e144281cSmrg /* 4*e144281cSmrg * Copyright (C) 1995, 1996 Wolfgang Solfrank. 5*e144281cSmrg * Copyright (C) 1995, 1996 TooLs GmbH. 6*e144281cSmrg * All rights reserved. 7*e144281cSmrg * 8*e144281cSmrg * Redistribution and use in source and binary forms, with or without 9*e144281cSmrg * modification, are permitted provided that the following conditions 10*e144281cSmrg * are met: 11*e144281cSmrg * 1. Redistributions of source code must retain the above copyright 12*e144281cSmrg * notice, this list of conditions and the following disclaimer. 13*e144281cSmrg * 2. Redistributions in binary form must reproduce the above copyright 14*e144281cSmrg * notice, this list of conditions and the following disclaimer in the 15*e144281cSmrg * documentation and/or other materials provided with the distribution. 16*e144281cSmrg * 3. All advertising materials mentioning features or use of this software 17*e144281cSmrg * must display the following acknowledgement: 18*e144281cSmrg * This product includes software developed by TooLs GmbH. 19*e144281cSmrg * 4. The name of TooLs GmbH may not be used to endorse or promote products 20*e144281cSmrg * derived from this software without specific prior written permission. 21*e144281cSmrg * 22*e144281cSmrg * THIS SOFTWARE IS PROVIDED BY TOOLS GMBH ``AS IS'' AND ANY EXPRESS OR 23*e144281cSmrg * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 24*e144281cSmrg * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 25*e144281cSmrg * IN NO EVENT SHALL TOOLS GMBH BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 26*e144281cSmrg * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 27*e144281cSmrg * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 28*e144281cSmrg * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 29*e144281cSmrg * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 30*e144281cSmrg * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 31*e144281cSmrg * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 32*e144281cSmrg */ 33*e144281cSmrg #ifndef _STAND_DEV_H_ 34*e144281cSmrg #define _STAND_DEV_H_ 35*e144281cSmrg 36*e144281cSmrg struct of_dev { 37*e144281cSmrg int handle; 38*e144281cSmrg int type; 39*e144281cSmrg u_long partoff; 40*e144281cSmrg int bsize; 41*e144281cSmrg }; 42*e144281cSmrg 43*e144281cSmrg /* Known types: */ 44*e144281cSmrg #define OFDEV_NET 1 45*e144281cSmrg #define OFDEV_DISK 2 46*e144281cSmrg 47*e144281cSmrg #define DEFAULT_KERNEL "/netbsd" 48*e144281cSmrg 49*e144281cSmrg extern char opened_name[]; 50*e144281cSmrg extern int floppyboot; 51*e144281cSmrg 52*e144281cSmrg #endif 53