From patchwork Wed Aug 15 08:57:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hongtao Jia X-Patchwork-Id: 177593 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from ozlabs.org (localhost [IPv6:::1]) by ozlabs.org (Postfix) with ESMTP id 740BF2C0152 for ; Wed, 15 Aug 2012 19:27:20 +1000 (EST) Received: from am1outboundpool.messaging.microsoft.com (am1ehsobe003.messaging.microsoft.com [213.199.154.206]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "mail.global.frontbridge.com", Issuer "Microsoft Secure Server Authority" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 039AB2C0162 for ; Wed, 15 Aug 2012 19:25:36 +1000 (EST) Received: from mail16-am1-R.bigfish.com (10.3.201.250) by AM1EHSOBE006.bigfish.com (10.3.204.26) with Microsoft SMTP Server id 14.1.225.23; Wed, 15 Aug 2012 09:25:30 +0000 Received: from mail16-am1 (localhost [127.0.0.1]) by mail16-am1-R.bigfish.com (Postfix) with ESMTP id 4A6624402EC; Wed, 15 Aug 2012 09:25:30 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 0 X-BigFish: VS0(zzzz1202hzz8275bhz2dh2a8h668h839he5bhf0ah107ah1155h) Received: from mail16-am1 (localhost.localdomain [127.0.0.1]) by mail16-am1 (MessageSwitch) id 1345022723928998_21296; Wed, 15 Aug 2012 09:25:23 +0000 (UTC) Received: from AM1EHSMHS011.bigfish.com (unknown [10.3.201.232]) by mail16-am1.bigfish.com (Postfix) with ESMTP id E0B16360046; Wed, 15 Aug 2012 09:25:23 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by AM1EHSMHS011.bigfish.com (10.3.207.111) with Microsoft SMTP Server (TLS) id 14.1.225.23; Wed, 15 Aug 2012 09:25:23 +0000 Received: from az84smr01.freescale.net (10.64.34.197) by 039-SN1MMR1-003.039d.mgd.msft.net (10.84.1.16) with Microsoft SMTP Server (TLS) id 14.2.298.5; Wed, 15 Aug 2012 04:25:21 -0500 Received: from rock.am.freescale.net (rock.ap.freescale.net [10.193.20.106]) by az84smr01.freescale.net (8.14.3/8.14.0) with ESMTP id q7F9P8PX029890; Wed, 15 Aug 2012 02:25:18 -0700 From: Jia Hongtao To: , , Subject: [PATCH V7 2/3] powerpc/ge_imp3a: Add ISA node to PCI primary bus Date: Wed, 15 Aug 2012 16:57:05 +0800 Message-ID: <1345021026-10886-3-git-send-email-B38951@freescale.com> X-Mailer: git-send-email 1.7.5.1 In-Reply-To: <1345021026-10886-1-git-send-email-B38951@freescale.com> References: <1345021026-10886-1-git-send-email-B38951@freescale.com> MIME-Version: 1.0 X-OriginatorOrg: freescale.com Cc: B07421@freescale.com, b38951@freescale.com X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org Sender: "Linuxppc-dev" PCI primary bus will be determined by looking for ISA node in device tree. Also for board ge_imp3a primary bus is the second PCI controller detected. So we add ISA node to ge_imp3a's device tree to fit the new determination. Adding ISA node to other boards' device tree is not necessary. The situation that the first bus is primary have already been handled. Please refer to the following patch: powerpc/pci: Make sure ISA IO base is not zero Signed-off-by: Jia Hongtao Signed-off-by: Li Yang --- arch/powerpc/boot/dts/ge_imp3a.dts | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/boot/dts/ge_imp3a.dts b/arch/powerpc/boot/dts/ge_imp3a.dts index fefae41..aa2c4b5 100644 --- a/arch/powerpc/boot/dts/ge_imp3a.dts +++ b/arch/powerpc/boot/dts/ge_imp3a.dts @@ -248,6 +248,10 @@ 0x1000000 0x0 0x0 0x1000000 0x0 0x0 0x0 0x10000>; + + isa@1e { + device_type = "isa"; + }; }; }; };