aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/cobalt/pci.c
diff options
context:
space:
mode:
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>2007-03-14 08:51:26 -0400
committerRalf Baechle <ralf@linux-mips.org>2007-04-27 11:20:23 -0400
commit252161eccd1a44f32a506d0fedb424d4ff84e4dc (patch)
tree39c4c46d69b653b20047a0af7175f477ce54913e /arch/mips/cobalt/pci.c
parent2a9effc67804102d6d5182eb0116520588ae2256 (diff)
[MIPS] merge GT64111 PCI routines and GT64120 PCI_0 routines
This patch has merged GT64111 PCI routines and GT64120 PCI_0 routines. GT64111 PCI is almost the same as GT64120's PCI_0. This patch don't change GT64120 PCI routines. Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/cobalt/pci.c')
-rw-r--r--arch/mips/cobalt/pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/cobalt/pci.c b/arch/mips/cobalt/pci.c
index d01600639546..d91027f43de6 100644
--- a/arch/mips/cobalt/pci.c
+++ b/arch/mips/cobalt/pci.c
@@ -14,7 +14,7 @@
14 14
15#include <asm/gt64120.h> 15#include <asm/gt64120.h>
16 16
17extern struct pci_ops gt64111_pci_ops; 17extern struct pci_ops gt64xxx_pci0_ops;
18 18
19static struct resource cobalt_mem_resource = { 19static struct resource cobalt_mem_resource = {
20 .start = GT_DEF_PCI0_MEM0_BASE, 20 .start = GT_DEF_PCI0_MEM0_BASE,
@@ -31,7 +31,7 @@ static struct resource cobalt_io_resource = {
31}; 31};
32 32
33static struct pci_controller cobalt_pci_controller = { 33static struct pci_controller cobalt_pci_controller = {
34 .pci_ops = &gt64111_pci_ops, 34 .pci_ops = &gt64xxx_pci0_ops,
35 .mem_resource = &cobalt_mem_resource, 35 .mem_resource = &cobalt_mem_resource,
36 .io_resource = &cobalt_io_resource, 36 .io_resource = &cobalt_io_resource,
37 .io_offset = 0 - GT_DEF_PCI0_IO_BASE, 37 .io_offset = 0 - GT_DEF_PCI0_IO_BASE,