Re: vremap and memcpy_to_fs in 2.2.x?

Vineet Abraham (vma@mars.iol.unh.edu)
Wed, 31 Mar 1999 23:32:05 -0500


> I'm porting a PCI card driver from 2.0.x to 2.2.x -- on an Alpha -- and
> I have two questions:
>
> What are the equivalent functions for vremap() and memcpy_to_fs().
> >From what I can find:
>
> vremap() -> ioremap() However, on an alpha kernel, ioremap just
> returns the passed-in address. I've tried
> phys_to_virt, but I'm not sure that it gives me
> what vremap did.

Try checking the size you are requesting. phys_addr + size might be
wrapping around. Which version are you using? I think it has
been fixed in 2.2.4ac1 and later.

-Vineet

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/