linux-mips
[Top] [All Lists]

[PATCH] added io_map_base to pci_controller on Lemote 2e box

To: linux-mips@linux-mips.org
Subject: [PATCH] added io_map_base to pci_controller on Lemote 2e box
From: Zhang Le <r0bertz@gentoo.org>
Date: Thu, 23 Oct 2008 00:48:59 +0000
Cc: Zhang Le <r0bertz@gentoo.org>
In-reply-to: <1224722939-18557-1-git-send-email-r0bertz@gentoo.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1224722939-18557-1-git-send-email-r0bertz@gentoo.org>
Sender: linux-mips-bounce@linux-mips.org
---
 arch/mips/lemote/lm2e/pci.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/arch/mips/lemote/lm2e/pci.c b/arch/mips/lemote/lm2e/pci.c
index c1e41f1..dd04957 100644
--- a/arch/mips/lemote/lm2e/pci.c
+++ b/arch/mips/lemote/lm2e/pci.c
@@ -30,6 +30,7 @@
 #include <linux/kernel.h>
 #include <linux/init.h>
 #include <asm/mips-boards/bonito64.h>
+#include <asm/lemote/pci.h>
 
 extern struct pci_ops bonito64_pci_ops;
 
@@ -53,6 +54,7 @@ static struct pci_controller  loongson2e_pci_controller = {
        .mem_resource   = &loongson2e_pci_mem_resource,
        .mem_offset     = 0x00000000UL,
        .io_offset      = 0x00000000UL,
+       .io_map_base    = LEMOTE_IO_PORT_BASE,
 };
 
 static void __init ict_pcimap(void)
-- 
1.6.0.2


<Prev in Thread] Current Thread [Next in Thread>