Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965490Ab2B1COD (ORCPT ); Mon, 27 Feb 2012 21:14:03 -0500 Received: from acsinet15.oracle.com ([141.146.126.227]:48917 "EHLO acsinet15.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964808Ab2B1CLX (ORCPT ); Mon, 27 Feb 2012 21:11:23 -0500 From: Yinghai Lu To: Jesse Barnes , Benjamin Herrenschmidt , Tony Luck Cc: Bjorn Helgaas , Dominik Brodowski , Andrew Morton , Linus Torvalds , Greg Kroah-Hartman , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Yinghai Lu , "David S. Miller" , sparclinux@vger.kernel.org Subject: [PATCH 07/18] PCI, sparc: Register busn_res for root buses Date: Mon, 27 Feb 2012 18:09:58 -0800 Message-Id: <1330395009-29260-8-git-send-email-yinghai@kernel.org> X-Mailer: git-send-email 1.7.7 In-Reply-To: <1330395009-29260-1-git-send-email-yinghai@kernel.org> References: <1330395009-29260-1-git-send-email-yinghai@kernel.org> X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090201.4F4C37C2.001B,ss=1,re=0.000,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 937 Lines: 27 Signed-off-by: Yinghai Lu Cc: "David S. Miller" Cc: sparclinux@vger.kernel.org --- arch/sparc/kernel/pci.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/sparc/kernel/pci.c b/arch/sparc/kernel/pci.c index 253e8ac..57ffe31 100644 --- a/arch/sparc/kernel/pci.c +++ b/arch/sparc/kernel/pci.c @@ -705,6 +705,7 @@ struct pci_bus * __devinit pci_scan_one_pbm(struct pci_pbm_info *pbm, } bus->secondary = pbm->pci_first_busno; bus->subordinate = pbm->pci_last_busno; + pci_bus_insert_busn_res(bus, pbm->pci_first_busno, pbm->pci_last_busno); pci_of_scan_bus(pbm, node, bus); pci_bus_add_devices(bus); -- 1.7.7 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/