11.15Smatt/* $NetBSD: pci_machdep.h,v 1.15 2011/06/22 18:06:32 matt Exp $ */ 21.1Ssakamoto 31.13Sgarbled/*- 41.13Sgarbled * Copyright (c) 2007 The NetBSD Foundation, Inc. 51.13Sgarbled * All rights reserved. 61.13Sgarbled * 71.13Sgarbled * This code is derived from software contributed to The NetBSD Foundation 81.13Sgarbled * by Tim Rightnour 91.1Ssakamoto * 101.1Ssakamoto * Redistribution and use in source and binary forms, with or without 111.1Ssakamoto * modification, are permitted provided that the following conditions 121.1Ssakamoto * are met: 131.1Ssakamoto * 1. Redistributions of source code must retain the above copyright 141.1Ssakamoto * notice, this list of conditions and the following disclaimer. 151.1Ssakamoto * 2. Redistributions in binary form must reproduce the above copyright 161.1Ssakamoto * notice, this list of conditions and the following disclaimer in the 171.1Ssakamoto * documentation and/or other materials provided with the distribution. 181.1Ssakamoto * 191.13Sgarbled * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 201.13Sgarbled * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 211.13Sgarbled * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 221.13Sgarbled * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 231.13Sgarbled * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 241.13Sgarbled * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 251.13Sgarbled * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 261.13Sgarbled * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 271.13Sgarbled * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 281.13Sgarbled * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 291.13Sgarbled * POSSIBILITY OF SUCH DAMAGE. 301.1Ssakamoto */ 311.1Ssakamoto 321.13Sgarbled#ifndef _MACHINE_PCI_MACHDEP_H_ 331.13Sgarbled#define _MACHINE_PCI_MACHDEP_H_ 341.13Sgarbled 351.13Sgarbled#include <powerpc/pci_machdep.h> 361.13Sgarbled 371.13Sgarbled#ifdef _KERNEL 381.1Ssakamoto 391.1Ssakamoto/* 401.13Sgarbled * bebox-specific PCI structure and type definitions. 411.1Ssakamoto * NOT TO BE USED DIRECTLY BY MACHINE INDEPENDENT CODE. 421.1Ssakamoto */ 431.1Ssakamoto 441.15Smattvoid bebox_pci_conf_interrupt(void *, int, int, int, int, int *); 451.13Sgarbledvoid bebox_pci_get_chipset_tag(pci_chipset_tag_t); 461.7Ssommerfe 471.9Smattextern struct powerpc_bus_dma_tag pci_bus_dma_tag; 481.1Ssakamoto 491.13Sgarbled#endif /* _KERNEL */ 501.13Sgarbled#endif /* _MACHINE_PCI_MACHDEP_H_ */ 51