xref: /minix3/sys/arch/x86/include/pci_machdep.h (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc /*	$NetBSD: pci_machdep.h,v 1.18 2015/04/27 07:03:58 knakahara Exp $	*/
21cd76c75SBen Gras 
31cd76c75SBen Gras /*
41cd76c75SBen Gras  * Copyright (c) 1996 Christopher G. Demetriou.  All rights reserved.
51cd76c75SBen Gras  * Copyright (c) 1994 Charles M. Hannum.  All rights reserved.
61cd76c75SBen Gras  *
71cd76c75SBen Gras  * Redistribution and use in source and binary forms, with or without
81cd76c75SBen Gras  * modification, are permitted provided that the following conditions
91cd76c75SBen Gras  * are met:
101cd76c75SBen Gras  * 1. Redistributions of source code must retain the above copyright
111cd76c75SBen Gras  *    notice, this list of conditions and the following disclaimer.
121cd76c75SBen Gras  * 2. Redistributions in binary form must reproduce the above copyright
131cd76c75SBen Gras  *    notice, this list of conditions and the following disclaimer in the
141cd76c75SBen Gras  *    documentation and/or other materials provided with the distribution.
151cd76c75SBen Gras  * 3. All advertising materials mentioning features or use of this software
161cd76c75SBen Gras  *    must display the following acknowledgement:
171cd76c75SBen Gras  *	This product includes software developed by Charles M. Hannum.
181cd76c75SBen Gras  * 4. The name of the author may not be used to endorse or promote products
191cd76c75SBen Gras  *    derived from this software without specific prior written permission.
201cd76c75SBen Gras  *
211cd76c75SBen Gras  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
221cd76c75SBen Gras  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
231cd76c75SBen Gras  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
241cd76c75SBen Gras  * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
251cd76c75SBen Gras  * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
261cd76c75SBen Gras  * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
271cd76c75SBen Gras  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
281cd76c75SBen Gras  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
291cd76c75SBen Gras  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
301cd76c75SBen Gras  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
311cd76c75SBen Gras  */
321cd76c75SBen Gras 
331cd76c75SBen Gras #ifndef _X86_PCI_MACHDEP_H_
341cd76c75SBen Gras #define _X86_PCI_MACHDEP_H_
351cd76c75SBen Gras 
36*0a6a1f1dSLionel Sambuc #include <machine/intr.h>
37*0a6a1f1dSLionel Sambuc 
38*0a6a1f1dSLionel Sambuc #include <x86/intr_distribute.h>
39*0a6a1f1dSLionel Sambuc 
401cd76c75SBen Gras /*
411cd76c75SBen Gras  * Types provided to machine-independent PCI code
42*0a6a1f1dSLionel Sambuc  * See also i82093var.h to find out pci_intr_handle_t's bitfield.
431cd76c75SBen Gras  */
44*0a6a1f1dSLionel Sambuc 
45*0a6a1f1dSLionel Sambuc typedef intr_handle_t pci_intr_handle_t;
461cd76c75SBen Gras 
471cd76c75SBen Gras #include <x86/pci_machdep_common.h>
481cd76c75SBen Gras 
491cd76c75SBen Gras #endif /* _X86_PCI_MACHDEP_H_ */
50