Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261427AbTHSUtd (ORCPT ); Tue, 19 Aug 2003 16:49:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261428AbTHSUtW (ORCPT ); Tue, 19 Aug 2003 16:49:22 -0400 Received: from web14913.mail.yahoo.com ([216.136.225.240]:58386 "HELO web14913.mail.yahoo.com") by vger.kernel.org with SMTP id S261427AbTHSUqp (ORCPT ); Tue, 19 Aug 2003 16:46:45 -0400 Message-ID: <20030819204643.75442.qmail@web14913.mail.yahoo.com> Date: Tue, 19 Aug 2003 13:46:43 -0700 (PDT) From: Jon Smirl Subject: Re: Standard driver call to enable/disable PCI ROM To: Russell King Cc: Linux Kernel Mailing List In-Reply-To: <20030819210618.D23670@flint.arm.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 787 Lines: 24 --- Russell King wrote: > You should use pcibios_resource_to_bus() to convert a resource to a > representation suitable for a BAR. I've never used pcibios_resource_to_bus(), what's the right way to do this? This is a good reason for making this into a common PCI driver function, it will stop people like me from messing up PCI calls. ===== Jon Smirl jonsmirl@yahoo.com __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com - 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/