Messages in this thread | | | From | Benjamin Herrenschmidt <> | Date | Thu, 04 Sep 2003 12:07:07 +0200 | Subject | Re: [PATCH] fix ppc ioremap prototype |
| |
On Thu, 2003-09-04 at 11:29, Christoph Hellwig wrote: > On Thu, Sep 04, 2003 at 01:09:40AM -0700, David S. Miller wrote: > > On Thu, 4 Sep 2003 09:38:45 +0200 > > Christoph Hellwig <hch@lst.de> wrote: > > > > > Umm, right, so the typedef name is also completly bogus, if we're > > > going to go that route it needs to be something likeb iocookie_t. > > > > My suggestion is to just pass a resource and an offset to ioremap(). > > Here's a ioremap_resource implementation. Tested on ppc32 with a > converted sungem driver.
Please, make so that ioremap_resource can be passed a PCI IO resource as well and just do nothing in this case.
Ben.
- 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/
| |