1*22087826Schopps /* $NetBSD: gvpbusvar.h,v 1.8 1995/08/18 15:27:55 chopps Exp $ */ 2ec77f0b3Scgd 315d4cf6bSchopps /* 415d4cf6bSchopps * Copyright (c) 1994 Christian E. Hopps 515d4cf6bSchopps * All rights reserved. 615d4cf6bSchopps * 715d4cf6bSchopps * Redistribution and use in source and binary forms, with or without 815d4cf6bSchopps * modification, are permitted provided that the following conditions 915d4cf6bSchopps * are met: 1015d4cf6bSchopps * 1. Redistributions of source code must retain the above copyright 1115d4cf6bSchopps * notice, this list of conditions and the following disclaimer. 1215d4cf6bSchopps * 2. Redistributions in binary form must reproduce the above copyright 1315d4cf6bSchopps * notice, this list of conditions and the following disclaimer in the 1415d4cf6bSchopps * documentation and/or other materials provided with the distribution. 1515d4cf6bSchopps * 3. All advertising materials mentioning features or use of this software 1615d4cf6bSchopps * must display the following acknowledgement: 1715d4cf6bSchopps * This product includes software developed by Christian E. Hopps. 1815d4cf6bSchopps * 4. The name of the author may not be used to endorse or promote products 1915d4cf6bSchopps * derived from this software without specific prior written permission 2015d4cf6bSchopps * 2115d4cf6bSchopps * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 2215d4cf6bSchopps * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 2315d4cf6bSchopps * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 2415d4cf6bSchopps * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 2515d4cf6bSchopps * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 2615d4cf6bSchopps * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2715d4cf6bSchopps * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2815d4cf6bSchopps * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2915d4cf6bSchopps * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 3015d4cf6bSchopps * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 3115d4cf6bSchopps */ 3215d4cf6bSchopps #ifndef _GVPBUSVAR_H_ 3315d4cf6bSchopps #define _GVPBUSVAR_H_ 3415d4cf6bSchopps 3515d4cf6bSchopps enum gvpbusprod { 3615d4cf6bSchopps GVP_GFORCE_040 = 0x20, 3715d4cf6bSchopps GVP_GFORCE_040_SCSI = 0x30, 3832dc3c58Schopps GVP_A1291_SCSI = 0x40, 3915d4cf6bSchopps GVP_GFORCE_030 = 0xa0, 4015d4cf6bSchopps GVP_GFORCE_030_SCSI = 0xb0, 4115d4cf6bSchopps GVP_COMBO_R4 = 0x60, 4215d4cf6bSchopps GVP_COMBO_R4_SCSI = 0x70, 4315d4cf6bSchopps GVP_COMBO_R3 = 0xe0, 4415d4cf6bSchopps GVP_COMBO_R3_SCSI = 0xf0, 4515d4cf6bSchopps GVP_SERIESII = 0xf8, 465415d743Schopps GVP_A530 = 0xc0, 475415d743Schopps GVP_A530_SCSI = 0xd0, 4815d4cf6bSchopps GVP_IOEXTEND = 0x98, 49c1a47078Schopps GVP_PHONEPAK = 0x78, 5015d4cf6bSchopps }; 5115d4cf6bSchopps 5215d4cf6bSchopps enum gvpbusflags { 5315d4cf6bSchopps GVP_IO = 0x1, 5415d4cf6bSchopps GVP_ACCEL = 0x2, 5515d4cf6bSchopps GVP_SCSI = 0x4, 5615d4cf6bSchopps GVP_24BITDMA = 0x8, 5715d4cf6bSchopps GVP_25BITDMA = 0x10, 58d5fa055dSchopps GVP_NOBANK = 0x20, 59*22087826Schopps GVP_14MHZ = 0x40, 6015d4cf6bSchopps }; 6115d4cf6bSchopps 6215d4cf6bSchopps struct gvpbus_args { 634726ce28Schopps struct zbus_args zargs; 6415d4cf6bSchopps enum gvpbusprod prod; 6515d4cf6bSchopps int flags; 6615d4cf6bSchopps }; 6715d4cf6bSchopps 6815d4cf6bSchopps #endif 69