Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261498AbUCPVGG (ORCPT ); Tue, 16 Mar 2004 16:06:06 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261535AbUCPVGG (ORCPT ); Tue, 16 Mar 2004 16:06:06 -0500 Received: from delerium.kernelslacker.org ([81.187.208.145]:28816 "EHLO delerium.codemonkey.org.uk") by vger.kernel.org with ESMTP id S261498AbUCPVGE (ORCPT ); Tue, 16 Mar 2004 16:06:04 -0500 Date: Tue, 16 Mar 2004 21:05:40 +0000 From: Dave Jones To: Linux Kernel Subject: fix ppc compile Message-ID: <20040316210540.GD24623@redhat.com> Mail-Followup-To: Dave Jones , Linux Kernel Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 944 Lines: 23 2.6.5rc1 changes this function, but there is no 'dev' argument there. This makes it look a little more sane, but I've no hardware to test it on. Dave --- linux-2.6.4/arch/ppc/syslib/indirect_pci.c~ 2004-03-16 21:03:20.000000000 +0000 +++ linux-2.6.4/arch/ppc/syslib/indirect_pci.c 2004-03-16 21:03:31.000000000 +0000 @@ -44,8 +44,8 @@ cfg_type = 1; PCI_CFG_OUT(hose->cfg_addr, - (0x80000000 | ((dev->bus->number - hose->bus_offset) << 16) - | (dev->devfn << 8) | ((offset & 0xfc) | cfg_type))); + (0x80000000 | ((bus->number - hose->bus_offset) << 16) + | (devfn << 8) | ((offset & 0xfc) | cfg_type))); /* * Note: the caller has already checked that offset is - 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/