Re: [PATCH] fix ppc ioremap prototype
From: David S. Miller
Date: Thu Sep 04 2003 - 07:57:39 EST
On Thu, 04 Sep 2003 08:42:11 -0400
Jeff Garzik <jgarzik@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/