From patchwork Fri Jun 19 21:42:36 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gerhard Pircher X-Patchwork-Id: 28923 X-Patchwork-Delegate: benh@kernel.crashing.org Return-Path: X-Original-To: patchwork-incoming@bilbo.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id 1DA60B7262 for ; Sat, 20 Jun 2009 07:43:09 +1000 (EST) Received: by ozlabs.org (Postfix) id 110E5DDDA0; Sat, 20 Jun 2009 07:43:09 +1000 (EST) Delivered-To: patchwork-incoming@ozlabs.org Received: from bilbo.ozlabs.org (bilbo.ozlabs.org [203.10.76.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bilbo.ozlabs.org", Issuer "CAcert Class 3 Root" (verified OK)) by ozlabs.org (Postfix) with ESMTPS id 0F632DDD1C for ; Sat, 20 Jun 2009 07:43:09 +1000 (EST) Received: from bilbo.ozlabs.org (localhost [127.0.0.1]) by bilbo.ozlabs.org (Postfix) with ESMTP id ABF00B7628 for ; Sat, 20 Jun 2009 07:42:47 +1000 (EST) Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id 23678B7276 for ; Sat, 20 Jun 2009 07:42:40 +1000 (EST) Received: by ozlabs.org (Postfix) id 17688DDD1C; Sat, 20 Jun 2009 07:42:40 +1000 (EST) Delivered-To: linuxppc-dev@ozlabs.org Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by ozlabs.org (Postfix) with SMTP id 0A399DDD1B for ; Sat, 20 Jun 2009 07:42:38 +1000 (EST) Received: (qmail 11171 invoked by uid 0); 19 Jun 2009 21:42:37 -0000 Received: from 85.127.160.216 by www187.gmx.net with HTTP; Fri, 19 Jun 2009 23:42:36 +0200 (CEST) Date: Fri, 19 Jun 2009 23:42:36 +0200 From: "Gerhard Pircher" Message-ID: <20090619214236.198400@gmx.net> MIME-Version: 1.0 Subject: [PATCH] powerpc/amigaone: Limit ISA I/O range to 4k in the device tree To: linuxppc-dev list X-Authenticated: #6097454 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX18wcykEm2swS3tyTxg5FXA7++IdeqKmxV05uRTogP Cw4JvUbZSwKfYYOHnZUJd6znO7dEpfICgQTg== X-GMX-UID: ImteHsdtbXB+Vkt4bzQ2uW4iLyUmZchR X-FuHaFi: 0.6 X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org The kernel reserves the I/O address space from 0x0 to 0xfff for legacy ISA devices. Change the ranges property for the PCI2ISA bridge to match the kernels behavior, even if the ranges property isn't used for now. Signed-off-by: Gerhard Pircher --- arch/powerpc/boot/dts/amigaone.dts | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/boot/dts/amigaone.dts b/arch/powerpc/boot/dts/amigaone.dts index 26549fc..49ac36b 100644 --- a/arch/powerpc/boot/dts/amigaone.dts +++ b/arch/powerpc/boot/dts/amigaone.dts @@ -70,8 +70,8 @@ devsel-speed = <0x00000001>; min-grant = <0>; max-latency = <0>; - /* First 64k for I/O at 0x0 on PCI mapped to 0x0 on ISA. */ - ranges = <0x00000001 0 0x01000000 0 0x00000000 0x00010000>; + /* First 4k for I/O at 0x0 on PCI mapped to 0x0 on ISA. */ + ranges = <0x00000001 0 0x01000000 0 0x00000000 0x00001000>; interrupt-parent = <&i8259>; #interrupt-cells = <2>; #address-cells = <2>;