mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
84972ec0c2
None of these contain pci_ops, only IRQ routing bits, rename them accordingly. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
24 lines
516 B
C
24 lines
516 B
C
/*
|
|
* linux/arch/sh/drivers/pci/ops-lboxre2.c
|
|
*
|
|
* Copyright (C) 2007 Nobuhiro Iwamatsu
|
|
*
|
|
* PCI initialization for the NTT COMWARE L-BOX RE2
|
|
*/
|
|
#include <linux/kernel.h>
|
|
#include <linux/types.h>
|
|
#include <linux/init.h>
|
|
#include <linux/pci.h>
|
|
#include <linux/io.h>
|
|
#include <mach/lboxre2.h>
|
|
#include "pci-sh4.h"
|
|
|
|
static char lboxre2_irq_tab[] __initdata = {
|
|
IRQ_ETH0, IRQ_ETH1, IRQ_INTA, IRQ_INTD,
|
|
};
|
|
|
|
int __init pcibios_map_platform_irq(struct pci_dev *pdev, u8 slot, u8 pin)
|
|
{
|
|
return lboxre2_irq_tab[slot];
|
|
}
|