linux-mips
[Top] [All Lists]

[PATCH][MIPS] add io_map_base to pci_controller on Cobalt

To: Ralf Baechle <ralf@linux-mips.org>
Subject: [PATCH][MIPS] add io_map_base to pci_controller on Cobalt
From: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
Date: Mon, 21 May 2007 23:02:34 +0900
Cc: yoichi_yuasa@tripeaks.co.jp, linux-mips <linux-mips@linux-mips.org>
Organization: TriPeaks Corporation
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hi Ralf,

This patch has added io_map_base to pci_controller on Cobalt.

Yoichi

Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>

diff -pruN -X mips/Documentation/dontdiff mips-orig/arch/mips/cobalt/pci.c 
mips/arch/mips/cobalt/pci.c
--- mips-orig/arch/mips/cobalt/pci.c    2007-05-20 19:54:15.700322500 +0900
+++ mips/arch/mips/cobalt/pci.c 2007-05-20 20:57:51.889937250 +0900
@@ -35,6 +35,7 @@ static struct pci_controller cobalt_pci_
        .mem_resource   = &cobalt_mem_resource,
        .io_resource    = &cobalt_io_resource,
        .io_offset      = 0 - GT_DEF_PCI0_IO_BASE,
+       .io_map_base    = CKSEG1ADDR(GT_DEF_PCI0_IO_BASE),
 };
 
 static int __init cobalt_pci_init(void)

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