diff options
Diffstat (limited to 'arch/mips/powertv/pci')
-rw-r--r-- | arch/mips/powertv/pci/Makefile | 19 | ||||
-rw-r--r-- | arch/mips/powertv/pci/fixup-powertv.c | 37 | ||||
-rw-r--r-- | arch/mips/powertv/pci/powertv-pci.h | 31 |
3 files changed, 0 insertions, 87 deletions
diff --git a/arch/mips/powertv/pci/Makefile b/arch/mips/powertv/pci/Makefile deleted file mode 100644 index 2610a6af5b2c..000000000000 --- a/arch/mips/powertv/pci/Makefile +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | # | ||
2 | # Copyright (C) 2009 Scientific-Atlanta, Inc. | ||
3 | # | ||
4 | # This program is free software; you can redistribute it and/or modify | ||
5 | # it under the terms of the GNU General Public License as published by | ||
6 | # the Free Software Foundation; either version 2 of the License, or | ||
7 | # (at your option) any later version. | ||
8 | # | ||
9 | # This program is distributed in the hope that it will be useful, | ||
10 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | # GNU General Public License for more details. | ||
13 | # | ||
14 | # You should have received a copy of the GNU General Public License | ||
15 | # along with this program; if not, write to the Free Software | ||
16 | # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
17 | # | ||
18 | |||
19 | obj-$(CONFIG_PCI) += fixup-powertv.o | ||
diff --git a/arch/mips/powertv/pci/fixup-powertv.c b/arch/mips/powertv/pci/fixup-powertv.c deleted file mode 100644 index d7ecbae64a6e..000000000000 --- a/arch/mips/powertv/pci/fixup-powertv.c +++ /dev/null | |||
@@ -1,37 +0,0 @@ | |||
1 | #include <linux/init.h> | ||
2 | #include <linux/export.h> | ||
3 | #include <linux/pci.h> | ||
4 | #include <asm/mach-powertv/interrupts.h> | ||
5 | #include "powertv-pci.h" | ||
6 | |||
7 | int __init pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) | ||
8 | { | ||
9 | return asic_pcie_map_irq(dev, slot, pin); | ||
10 | } | ||
11 | |||
12 | /* Do platform specific device initialization at pci_enable_device() time */ | ||
13 | int pcibios_plat_dev_init(struct pci_dev *dev) | ||
14 | { | ||
15 | return 0; | ||
16 | } | ||
17 | |||
18 | /* | ||
19 | * asic_pcie_map_irq | ||
20 | * | ||
21 | * Parameters: | ||
22 | * *dev - pointer to a pci_dev structure (not used) | ||
23 | * slot - slot number (not used) | ||
24 | * pin - pin number (not used) | ||
25 | * | ||
26 | * Return Value: | ||
27 | * Returns: IRQ number (always the PCI Express IRQ number) | ||
28 | * | ||
29 | * Description: | ||
30 | * asic_pcie_map_irq will return the IRQ number of the PCI Express interrupt. | ||
31 | * | ||
32 | */ | ||
33 | int asic_pcie_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) | ||
34 | { | ||
35 | return irq_pciexp; | ||
36 | } | ||
37 | EXPORT_SYMBOL(asic_pcie_map_irq); | ||
diff --git a/arch/mips/powertv/pci/powertv-pci.h b/arch/mips/powertv/pci/powertv-pci.h deleted file mode 100644 index 1b5886bbd759..000000000000 --- a/arch/mips/powertv/pci/powertv-pci.h +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | /* | ||
2 | * powertv-pci.c | ||
3 | * | ||
4 | * Copyright (C) 2009 Cisco Systems, Inc. | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * GNU General Public License for more details. | ||
15 | * | ||
16 | * You should have received a copy of the GNU General Public License | ||
17 | * along with this program; if not, write to the Free Software | ||
18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA | ||
19 | */ | ||
20 | /* | ||
21 | * Local definitions for the powertv PCI code | ||
22 | */ | ||
23 | |||
24 | #ifndef _POWERTV_PCI_POWERTV_PCI_H_ | ||
25 | #define _POWERTV_PCI_POWERTV_PCI_H_ | ||
26 | extern int asic_pcie_map_irq(const struct pci_dev *dev, u8 slot, u8 pin); | ||
27 | extern int asic_pcie_init(void); | ||
28 | extern int asic_pcie_init(void); | ||
29 | |||
30 | extern int log_level; | ||
31 | #endif | ||