2006-09-27 14:59:17 +08:00
|
|
|
/*
|
|
|
|
* arch/sh/drivers/pci/fixups-r7780rp.c
|
|
|
|
*
|
|
|
|
* Highlander R7780RP-1 PCI fixups
|
|
|
|
*
|
|
|
|
* Copyright (C) 2003 Lineo uSolutions, Inc.
|
2006-09-27 15:43:28 +08:00
|
|
|
* Copyright (C) 2004 - 2006 Paul Mundt
|
2006-09-27 14:59:17 +08:00
|
|
|
*
|
|
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
|
|
* for more details.
|
|
|
|
*/
|
2006-09-27 15:43:28 +08:00
|
|
|
#include <linux/pci.h>
|
2009-04-17 19:11:44 +08:00
|
|
|
#include <linux/io.h>
|
2006-09-27 15:43:28 +08:00
|
|
|
#include "pci-sh4.h"
|
2006-09-27 14:59:17 +08:00
|
|
|
|
2009-04-17 19:11:44 +08:00
|
|
|
static char irq_tab[] __initdata = {
|
|
|
|
65, 66, 67, 68,
|
|
|
|
};
|
|
|
|
|
2011-06-10 22:30:21 +08:00
|
|
|
int __init pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin)
|
2009-04-17 19:11:44 +08:00
|
|
|
{
|
|
|
|
return irq_tab[slot];
|
|
|
|
}
|