2006-09-27 13:59:17 +07:00
|
|
|
/*
|
|
|
|
* arch/sh/drivers/pci/fixups-r7780rp.c
|
|
|
|
*
|
|
|
|
* Highlander R7780RP-1 PCI fixups
|
|
|
|
*
|
|
|
|
* Copyright (C) 2003 Lineo uSolutions, Inc.
|
2006-09-27 14:43:28 +07:00
|
|
|
* Copyright (C) 2004 - 2006 Paul Mundt
|
2006-09-27 13:59:17 +07: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 14:43:28 +07:00
|
|
|
#include <linux/pci.h>
|
2009-04-17 18:11:44 +07:00
|
|
|
#include <linux/io.h>
|
2012-05-18 15:42:29 +07:00
|
|
|
#include <linux/sh_intc.h>
|
2006-09-27 14:43:28 +07:00
|
|
|
#include "pci-sh4.h"
|
2006-09-27 13:59:17 +07:00
|
|
|
|
2011-06-10 21:30:21 +07:00
|
|
|
int __init pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin)
|
2009-04-17 18:11:44 +07:00
|
|
|
{
|
2012-05-18 15:42:29 +07:00
|
|
|
return evt2irq(0xa20) + slot;
|
2009-04-17 18:11:44 +07:00
|
|
|
}
|