Re: ioremap()/PCI sickness in 2.4.18-rc2

Jeff Garzik
2002-02-20T17:26:44Z

"Jeff V. Merkey" wrote:
> #ifdef CPU_ARCH_IS_ALPHA
> #warning This looks quite suspect out
> if ((as->vaddr = (vkaddr_t)(dense_mem((unsigned)as->ioaddr)+(unsigned)as->ioaddr)) == 0) {
> #else
>
> =====> we are failing at this point
>
> if ((as->vaddr = (vkaddr_t)ioremap((unsigned)as->ioaddr, as->msize)) == 0) {
> #endif

ioremap works just fine on alpha.

type abuse aside, and alpha bugs aside, this looks ok... what is the
value of as->msize?

--
Jeff Garzik | "Why is it that attractive girls like you
Building 1024 | always seem to have a boyfriend?"
MandrakeSoft | "Because I'm a nympho that owns a brewery?"
| - BBC TV show "Coupling"