/*1* Philips PNX8550 pci fixups.2*3* Copyright 2005 Embedded Alley Solutions, Inc4* [email protected]5*6* This program is free software; you can distribute it and/or modify it7* under the terms of the GNU General Public License (Version 2) as8* published by the Free Software Foundation.9*10* This program is distributed in the hope it will be useful, but WITHOUT11* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or12* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License13* for more details.14*15* You should have received a copy of the GNU General Public License along16* with this program; if not, write to the Free Software Foundation, Inc.,17* 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.18*/19#include <linux/types.h>20#include <linux/pci.h>21#include <linux/kernel.h>22#include <linux/init.h>2324#include <asm/mach-pnx8550/pci.h>25#include <asm/mach-pnx8550/int.h>262728#undef DEBUG29#ifdef DEBUG30#define DBG(x...) printk(x)31#else32#define DBG(x...)33#endif3435extern char pnx8550_irq_tab[][5];3637void __init pcibios_fixup_resources(struct pci_dev *dev)38{39/* no need to fixup IO resources */40}4142void __init pcibios_fixup(void)43{44/* nothing to do here */45}4647int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin)48{49return pnx8550_irq_tab[slot][pin];50}5152/* Do platform specific device initialization at pci_enable_device() time */53int pcibios_plat_dev_init(struct pci_dev *dev)54{55return 0;56}575859