2018-12-28 16:31:49 +08:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
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
|
|
|
*/
|
2006-09-27 15:43:28 +08:00
|
|
|
#include <linux/pci.h>
|
2009-04-17 19:11:44 +08:00
|
|
|
#include <linux/io.h>
|
2012-05-18 16:42:29 +08:00
|
|
|
#include <linux/sh_intc.h>
|
2006-09-27 15:43:28 +08:00
|
|
|
#include "pci-sh4.h"
|
2006-09-27 14:59:17 +08:00
|
|
|
|
2017-08-01 00:37:49 +08:00
|
|
|
int pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin)
|
2009-04-17 19:11:44 +08:00
|
|
|
{
|
2012-05-18 16:42:29 +08:00
|
|
|
return evt2irq(0xa20) + slot;
|
2009-04-17 19:11:44 +08:00
|
|
|
}
|