176195Sbrian/*- 276195Sbrian * Copyright (c) 2001 Brian Somers <brian@Awfulhak.org> 376195Sbrian * All rights reserved. 476195Sbrian * 576195Sbrian * Redistribution and use in source and binary forms, with or without 676195Sbrian * modification, are permitted provided that the following conditions 776195Sbrian * are met: 876195Sbrian * 1. Redistributions of source code must retain the above copyright 976195Sbrian * notice, this list of conditions and the following disclaimer. 1076195Sbrian * 2. Redistributions in binary form must reproduce the above copyright 1176195Sbrian * notice, this list of conditions and the following disclaimer in the 1276195Sbrian * documentation and/or other materials provided with the distribution. 1376195Sbrian * 1476195Sbrian * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1576195Sbrian * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1676195Sbrian * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1776195Sbrian * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1876195Sbrian * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1976195Sbrian * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 2076195Sbrian * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2176195Sbrian * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2276195Sbrian * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2376195Sbrian * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2476195Sbrian * SUCH DAMAGE. 2576195Sbrian * 2676195Sbrian * $FreeBSD: releng/10.2/sys/dev/digi/digi_pci.h 76195 2001-05-02 01:08:09Z brian $ 2776195Sbrian */ 2876195Sbrian 2976195Sbrian#define PCI_VENDOR_DIGI 0x114F 3076195Sbrian#define PCI_DEVICE_EPC 0x0002 3176195Sbrian#define PCI_DEVICE_RIGHTSWITCH 0x0003 /* For testing */ 3276195Sbrian#define PCI_DEVICE_XEM 0x0004 3376195Sbrian#define PCI_DEVICE_XR 0x0005 3476195Sbrian#define PCI_DEVICE_CX 0x0006 3576195Sbrian#define PCI_DEVICE_XRJ 0x0009 /* Jupiter boards with */ 3676195Sbrian#define PCI_DEVICE_EPCJ 0x000a /* PLX 9060 chip for PCI */ 3776195Sbrian#define PCI_DEVICE_XR_422 0x0012 /* Xr-422 */ 3876195Sbrian#define PCI_DEVICE_920_4 0x0026 /* XR-Plus 920 K, 4 port */ 3976195Sbrian#define PCI_DEVICE_920_8 0x0027 /* XR-Plus 920 K, 8 port */ 4076195Sbrian#define PCI_DEVICE_920_2 0x0034 /* XR-Plus 920 K, 2 port */ 4176195Sbrian 4276195Sbrian#define PCIPORT sc->vmem[0x200000] 43