1331722Seadler/* 2186767Sdfr * Copyright (c) 2008 Citrix Systems, Inc. 3185387Sdfr * All rights reserved. 4185387Sdfr * 5185387Sdfr * Redistribution and use in source and binary forms, with or without 6185387Sdfr * modification, are permitted provided that the following conditions 7185387Sdfr * are met: 8185387Sdfr * 1. Redistributions of source code must retain the above copyright 9185387Sdfr * notice, this list of conditions and the following disclaimer. 10185387Sdfr * 2. Redistributions in binary form must reproduce the above copyright 11185387Sdfr * notice, this list of conditions and the following disclaimer in the 12185387Sdfr * documentation and/or other materials provided with the distribution. 13185387Sdfr * 14185387Sdfr * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS AS IS'' AND 15185387Sdfr * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16185387Sdfr * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17185387Sdfr * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18185387Sdfr * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19185387Sdfr * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20185387Sdfr * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21185387Sdfr * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22185387Sdfr * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23185387Sdfr * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24185387Sdfr * SUCH DAMAGE. 25255040Sgibbs * 26255040Sgibbs * $FreeBSD$ 27185387Sdfr */ 28185387Sdfr 29185387Sdfr/* 30185387Sdfr * One of these per allocated device. 31185387Sdfr */ 32185387Sdfrstruct xenpci_softc { 33185387Sdfr int rid_ioport; 34185387Sdfr int rid_irq; 35185387Sdfr struct resource* res_irq; /* Resource for irq range. */ 36185387Sdfr void *intr_cookie; 37185387Sdfr}; 38