Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757741Ab2BAWs0 (ORCPT ); Wed, 1 Feb 2012 17:48:26 -0500 Received: from rcsinet15.oracle.com ([148.87.113.117]:48575 "EHLO rcsinet15.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757700Ab2BAWoe (ORCPT ); Wed, 1 Feb 2012 17:44:34 -0500 From: Yinghai Lu To: Jesse Barnes , Benjamin Herrenschmidt , Tony Luck Cc: Bjorn Helgaas , Dominik Brodowski , Andrew Morton , Linus Torvalds , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Yinghai Lu , Fenghua Yu , linux-ia64@vger.kernel.org Subject: [PATCH 06/15] PCI, ia64: Register busn_res for root buses Date: Wed, 1 Feb 2012 14:43:53 -0800 Message-Id: <1328136242-17725-7-git-send-email-yinghai@kernel.org> X-Mailer: git-send-email 1.7.7 In-Reply-To: <1328136242-17725-1-git-send-email-yinghai@kernel.org> References: <1328136242-17725-1-git-send-email-yinghai@kernel.org> X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-CT-RefId: str=0001.0A090205.4F29C04A.000C,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: 1141 Lines: 36 Signed-off-by: Yinghai Lu Cc: Tony Luck Cc: Fenghua Yu Cc: linux-ia64@vger.kernel.org --- arch/ia64/pci/pci.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/ia64/pci/pci.c b/arch/ia64/pci/pci.c index f82f5d4..936b2f1 100644 --- a/arch/ia64/pci/pci.c +++ b/arch/ia64/pci/pci.c @@ -331,6 +331,7 @@ pci_acpi_scan_root(struct acpi_pci_root *root) struct acpi_device *device = root->device; int domain = root->segment; int bus = root->secondary.start; + int busmax = root->secondary.end; struct pci_controller *controller; unsigned int windows = 0; struct pci_root_info info; @@ -384,6 +385,7 @@ pci_acpi_scan_root(struct acpi_pci_root *root) return NULL; } + pci_bus_insert_busn_res(pbus, busnum, busmax); pbus->subordinate = pci_scan_child_bus(pbus); return pbus; -- 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/