Messages in this thread | | | Date | Thu, 4 Sep 2003 05:43:57 -0700 | From | "David S. Miller" <> | Subject | Re: [PATCH] fix ppc ioremap prototype |
| |
On Thu, 04 Sep 2003 08:42:11 -0400 Jeff Garzik <jgarzik@pobox.com> wrote:
> ioremap() has long wanted a struct pci_dev argument too. > (or make that struct device, now)
I majorly disagree.
If you can't do it with a resource/offset/len triple, a struct device isn't going to help you much more.
If you need to get at the device, you can convert the resource to the controller address range or even encode the controller domain number in the resource somehow. - 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/
| |