Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935092AbXLRAPm (ORCPT ); Mon, 17 Dec 2007 19:15:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753407AbXLRAPe (ORCPT ); Mon, 17 Dec 2007 19:15:34 -0500 Received: from outpipe-village-512-1.bc.nu ([81.2.110.250]:43821 "EHLO the-village.bc.nu" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1754181AbXLRAPd (ORCPT ); Mon, 17 Dec 2007 19:15:33 -0500 Date: Tue, 18 Dec 2007 00:07:40 +0000 From: Alan Cox To: Benjamin Herrenschmidt Cc: linux-pci@atrey.karlin.mff.cuni.cz, Alan Cox , Greg Kroah-Hartman , , Ivan Kokshaysky , , Bartlomiej Zolnierkiewicz , , , Subject: Re: [RFC/PATCH 2/4] pci: Remove users of pci_enable_device_bars() Message-ID: <20071218000740.446a6adf@the-village.bc.nu> In-Reply-To: <20071217230126.26291DDE34@ozlabs.org> References: <1197932473.576079.142524077033.qpush@grosgo> <20071217230126.26291DDE34@ozlabs.org> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-redhat-linux-gnu) Organization: Red Hat UK Cyf., Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, Y Deyrnas Gyfunol. Cofrestrwyd yng Nghymru a Lloegr o'r rhif cofrestru 3798903 Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 850 Lines: 20 On Tue, 18 Dec 2007 10:01:14 +1100 Benjamin Herrenschmidt wrote: > This patch converts users of pci_enable_device_bars() to the new > pci_enable_device_{io,mem} interface. > > The new API fits nicely, except maybe for the QLA case where a bit of > code re-organization might be a good idea but I prefer sticking to the > simple patch as I don't have hardware to test on. > > I'll also need some feedback on the cs5520 change 5520 in fact is always enabled as it is the host bridge. pci_enable_device_io will do just fine. The 5520 fun is if you disable it the system hangs. -- 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/