From patchwork Tue Dec 1 23:18:41 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Corey Minyard X-Patchwork-Id: 64067 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nB1NIu8j009968 for ; Tue, 1 Dec 2009 23:18:57 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754296AbZLAXSr (ORCPT ); Tue, 1 Dec 2009 18:18:47 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754215AbZLAXSr (ORCPT ); Tue, 1 Dec 2009 18:18:47 -0500 Received: from vms173019pub.verizon.net ([206.46.173.19]:37877 "EHLO vms173019pub.verizon.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754296AbZLAXSq (ORCPT ); Tue, 1 Dec 2009 18:18:46 -0500 Received: from wf-rch.minyard.local ([173.57.145.237]) by vms173019.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KTZ00HTUY3648U0@vms173019.mailsrvcs.net> for linux-acpi@vger.kernel.org; Tue, 01 Dec 2009 17:18:43 -0600 (CST) Received: from i2 (i2.minyard.local [192.168.27.126]) by wf-rch.minyard.local (Postfix) with ESMTP id EDF771F824; Tue, 01 Dec 2009 17:18:41 -0600 (CST) Date: Tue, 01 Dec 2009 17:18:41 -0600 From: Corey Minyard To: Bjorn Helgaas Cc: Zhao Yakui , Bela Lubkin , linux-acpi@vger.kernel.org, Myron Stowe , openipmi-developer@lists.sourceforge.net, Len Brown Subject: Re: [PATCH v1 3/5] ipmi: remove unused PCI probe coded Message-id: <20091201231841.GA7903@minyard.local> Reply-to: minyard@acm.org References: <20091118000427.14214.14043.stgit@bob.kio> <20091118000524.14214.41587.stgit@bob.kio> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline In-reply-to: <20091118000524.14214.41587.stgit@bob.kio> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org Index: linux-2.6.30/drivers/char/ipmi/ipmi_si_intf.c =================================================================== --- linux-2.6.30.orig/drivers/char/ipmi/ipmi_si_intf.c +++ linux-2.6.30/drivers/char/ipmi/ipmi_si_intf.c @@ -2293,7 +2293,7 @@ static int __devinit ipmi_pci_probe(stru info->io_setup = mem_setup; info->io.addr_type = IPMI_MEM_ADDR_SPACE; } - info->io.addr_data = pci_resource_start(pdev, 0); + info->io.addr_data = pci_resource_start(pdev, 0) + first_reg_offset; info->io.regspacing = DEFAULT_REGSPACING; info->io.regsize = DEFAULT_REGSPACING;