1109998Smarkm/* $NetBSD: pci_machdep.h,v 1.14 2008/04/28 20:23:15 martin Exp $ */ 2160814Ssimon 3160814Ssimon/*- 4160814Ssimon * Copyright (c) 2007 The NetBSD Foundation, Inc. 5109998Smarkm * All rights reserved. 6160814Ssimon * 7109998Smarkm * This code is derived from software contributed to The NetBSD Foundation 8109998Smarkm * by Tim Rightnour 9109998Smarkm * 10109998Smarkm * Redistribution and use in source and binary forms, with or without 11109998Smarkm * modification, are permitted provided that the following conditions 12109998Smarkm * are met: 13109998Smarkm * 1. Redistributions of source code must retain the above copyright 14109998Smarkm * notice, this list of conditions and the following disclaimer. 15109998Smarkm * 2. Redistributions in binary form must reproduce the above copyright 16109998Smarkm * notice, this list of conditions and the following disclaimer in the 17109998Smarkm * documentation and/or other materials provided with the distribution. 18109998Smarkm * 19109998Smarkm * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 20109998Smarkm * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 21109998Smarkm * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 22109998Smarkm * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 23109998Smarkm * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 24109998Smarkm * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 25109998Smarkm * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 26109998Smarkm * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 27109998Smarkm * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 28109998Smarkm * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 29109998Smarkm * POSSIBILITY OF SUCH DAMAGE. 30109998Smarkm */ 31109998Smarkm 32109998Smarkm#ifndef _MACHINE_PCI_MACHDEP_H_ 33109998Smarkm#define _MACHINE_PCI_MACHDEP_H_ 34109998Smarkm 35109998Smarkm#include <powerpc/pci_machdep.h> 36109998Smarkm 37109998Smarkm#ifdef _KERNEL 38109998Smarkm 39109998Smarkm/* 40109998Smarkm * bebox-specific PCI structure and type definitions. 41109998Smarkm * NOT TO BE USED DIRECTLY BY MACHINE INDEPENDENT CODE. 42109998Smarkm */ 43109998Smarkm 44109998Smarkmvoid bebox_pci_conf_interrupt(void *, int, int, int, int, int *); 45109998Smarkmvoid bebox_pci_get_chipset_tag(pci_chipset_tag_t); 46109998Smarkm 47109998Smarkmextern struct powerpc_bus_dma_tag pci_bus_dma_tag; 48109998Smarkm 49109998Smarkm#endif /* _KERNEL */ 50109998Smarkm#endif /* _MACHINE_PCI_MACHDEP_H_ */ 51109998Smarkm