1*8ec1d940Sknakahara /* $NetBSD: pci_machdep.h,v 1.18 2015/04/27 07:03:58 knakahara Exp $ */ 28375b2d9Sfvdl 38375b2d9Sfvdl /* 48375b2d9Sfvdl * Copyright (c) 1996 Christopher G. Demetriou. All rights reserved. 58375b2d9Sfvdl * Copyright (c) 1994 Charles M. Hannum. All rights reserved. 68375b2d9Sfvdl * 78375b2d9Sfvdl * Redistribution and use in source and binary forms, with or without 88375b2d9Sfvdl * modification, are permitted provided that the following conditions 98375b2d9Sfvdl * are met: 108375b2d9Sfvdl * 1. Redistributions of source code must retain the above copyright 118375b2d9Sfvdl * notice, this list of conditions and the following disclaimer. 128375b2d9Sfvdl * 2. Redistributions in binary form must reproduce the above copyright 138375b2d9Sfvdl * notice, this list of conditions and the following disclaimer in the 148375b2d9Sfvdl * documentation and/or other materials provided with the distribution. 158375b2d9Sfvdl * 3. All advertising materials mentioning features or use of this software 168375b2d9Sfvdl * must display the following acknowledgement: 178375b2d9Sfvdl * This product includes software developed by Charles M. Hannum. 188375b2d9Sfvdl * 4. The name of the author may not be used to endorse or promote products 198375b2d9Sfvdl * derived from this software without specific prior written permission. 208375b2d9Sfvdl * 218375b2d9Sfvdl * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 228375b2d9Sfvdl * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 238375b2d9Sfvdl * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 248375b2d9Sfvdl * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 258375b2d9Sfvdl * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 268375b2d9Sfvdl * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 278375b2d9Sfvdl * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 288375b2d9Sfvdl * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 298375b2d9Sfvdl * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 308375b2d9Sfvdl * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 318375b2d9Sfvdl */ 328375b2d9Sfvdl 33f141fad5Syamt #ifndef _X86_PCI_MACHDEP_H_ 34f141fad5Syamt #define _X86_PCI_MACHDEP_H_ 356a6db3cbSfvdl 3683fd2fa1Sknakahara #include <machine/intr.h> 3783fd2fa1Sknakahara 38c65d622dSknakahara #include <x86/intr_distribute.h> 39c65d622dSknakahara 408375b2d9Sfvdl /* 418375b2d9Sfvdl * Types provided to machine-independent PCI code 424118695eSknakahara * See also i82093var.h to find out pci_intr_handle_t's bitfield. 438375b2d9Sfvdl */ 44*8ec1d940Sknakahara 4583fd2fa1Sknakahara typedef intr_handle_t pci_intr_handle_t; 468375b2d9Sfvdl 47090e16c4Sdyoung #include <x86/pci_machdep_common.h> 48d91bd456Ssekiya 49f141fad5Syamt #endif /* _X86_PCI_MACHDEP_H_ */ 50