Received: from mail.onstor.com ([66.201.51.107]) by onstor-exch02.onstor.net with Microsoft SMTPSVC(6.0.3790.3959);
	 Wed, 22 Oct 2008 10:09:29 -0700
Received: from ausesmta2-2.messageone.com ([64.20.241.45]) by mail.onstor.com with Microsoft SMTPSVC(6.0.3790.3959);
	 Wed, 22 Oct 2008 10:09:28 -0700
Received: from ftp.linux-mips.org (ftp.linux-mips.org [213.58.128.207])
	by ausesmta2-2.messageone.com (8.13.8/8.13.8) with ESMTP id m9MH9QeZ028623
	for <andy.sharp@onstor.com>; Wed, 22 Oct 2008 12:09:27 -0500
Received: from localhost.localdomain ([127.0.0.1]:10176 "EHLO
	ftp.linux-mips.org") by ftp.linux-mips.org with ESMTP
	id S22145009AbYJVRJC (ORCPT <rfc822;andy.sharp@onstor.com>);
	Wed, 22 Oct 2008 18:09:02 +0100
Received: with ECARTIS (v1.0.0; list linux-mips); Wed, 22 Oct 2008 18:08:44 +0100 (BST)
Received: from crux.i-cable.com ([203.83.115.104]:12958 "HELO crux.i-cable.com")
	by ftp.linux-mips.org with SMTP id S22144992AbYJVRIX (ORCPT
	<rfc822;linux-mips@linux-mips.org>); Wed, 22 Oct 2008 18:08:23 +0100
Received: (qmail 9121 invoked by uid 107); 22 Oct 2008 17:08:10 -0000
Received: from 203.83.114.121 by crux (envelope-from <r0bertz@gentoo.org>, uid 104) with qmail-scanner-2.01 
 (clamdscan: 0.93.3/7716. spamassassin: 2.63.  
 Clear:RC:1(203.83.114.121):SA:0(4.6/5.0):. 
 Processed in 6.33387 secs); 22 Oct 2008 17:08:10 -0000
Received: from ip114121.hkicable.com (HELO silicon.i-cable.com) (203.83.114.121)
  by 0 with SMTP; 22 Oct 2008 17:08:04 -0000
Received: from localhost.localdomain (cm222-167-208-75.hkcable.com.hk [222.167.208.75])
	by silicon.i-cable.com (8.13.5/8.13.5) with ESMTP id m9MH7qwV007666;
	Thu, 23 Oct 2008 01:08:03 +0800 (HKT)
From: Zhang Le <r0bertz@gentoo.org>
To: linux-mips@linux-mips.org
Cc: Zhang Le <r0bertz@gentoo.org>
Subject: [PATCH] added io_map_base to pci_controller on Lemote 2e box
Date: 	Thu, 23 Oct 2008 00:48:59 +0000
Message-Id: <1224722939-18557-2-git-send-email-r0bertz@gentoo.org>
X-Mailer: git-send-email 1.6.0.2
In-Reply-To: <1224722939-18557-1-git-send-email-r0bertz@gentoo.org>
References: <1224722939-18557-1-git-send-email-r0bertz@gentoo.org>
X-archive-position: 20844
X-ecartis-version: Ecartis v1.0.0
Sender: linux-mips-bounce@linux-mips.org
Errors-to: linux-mips-bounce@linux-mips.org
X-original-sender: r0bertz@gentoo.org
Precedence: bulk
X-list: 	linux-mips
X-MessageOne-Virus-Version: vendor=fsecure engine=4.65.7400:2.4.4,1.2.40,4.0.164 definitions=2008-10-22_10:2008-10-10,2008-10-22,2008-10-22 signatures=0
X-MessageOne-Virus-Scanned: Clean
X-MessageOne-Envelope-Sender: linux-mips-bounce@linux-mips.org
X-MessageOne-Spam-Details: rule=m773emszm_notspam policy=m773emszm score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=3.1.0-0810130000 definitions=main-0810220107
X-MessageOne-Spam-Score: 0
X-MessageOne-Spam-Bar: 
Return-Path: linux-mips-bounce@linux-mips.org
X-OriginalArrivalTime: 22 Oct 2008 17:09:29.0034 (UTC) FILETIME=[F1899AA0:01C93468]

---
 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


