lkml.org 
[lkml]   [2003]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:1.158 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site