From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [patch 08/16] mn10300: use generic pci_enable_resources() Date: Wed, 5 Mar 2008 12:15:06 -0800 Message-ID: <20080305201506.GF13569@kroah.com> References: <20080304185821.354198782@ldl.fc.hp.com> <20080304185646.864917286@ldl.fc.hp.com> <28205.1204729990@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Bjorn Helgaas , Russell King , linux-arm-kernel-xIg/pKzrS19vn6HldHNs0ANdhmdF6hFW@public.gmane.org, Kyle McMartin , Matthew Wilcox , Grant Grundler , linux-parisc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Paul Mackerras , Benjamin Herrenschmidt , linuxppc-dev-mnsaURCQ41sdnm+yROfE0A@public.gmane.org, Chris Zankel , linux-pci-jyMamyUUXNJG4ohzP4jBZS1Fcj925eT/@public.gmane.org, linux-arch-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: David Howells Return-path: In-Reply-To: <28205.1204729990-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> List-ID: List-Id: linux-parisc.vger.kernel.org On Wed, Mar 05, 2008 at 03:13:10PM +0000, David Howells wrote: > > Bjorn Helgaas wrote: > > > Use the generic pci_enable_resources() instead of the arch-specific code. > > > > Unlike this arch-specific code, the generic version: > > - checks PCI_NUM_RESOURCES (11), not 6, resources > > - skips resources that have neither IORESOURCE_IO nor IORESOURCE_MEM set > > - skips ROM resources unless IORESOURCE_ROM_ENABLE is set > > - checks for resource collisions with "!r->parent" > > > > Signed-off-by: Bjorn Helgaas > > Acked-by: David Howells added, thanks. greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html