Messages in this thread | | | Date | Fri, 24 Oct 2003 23:45:05 +0400 | From | Ivan Kokshaysky <> | Subject | Re: [Dri-devel] Re: [Linux-fbdev-devel] DRM and pci_driver conversion |
| |
On Fri, Oct 24, 2003 at 11:34:04AM -0700, Jon Smirl wrote: > PCI ROM enabale/disable has come up before on LKML. Russell made this comment > about making the code more portable. > > --- Russell King <rmk@arm.linux.org.uk> wrote: > > You should use pcibios_resource_to_bus() to convert a resource to a > > representation suitable for a BAR.
pci_assign_resource() does call pcibios_resource_to_bus(), so Linus' proposal will work correctly as it is.
Ivan. - 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/
| |