Re: Memory map/ioremap question

From: Linux Lists (lists@cyclades.com)
Date: Wed Mar 08 2000 - 17:42:49 EST


On Wed, 8 Mar 2000, Linux Lists wrote:
>
> > myADpriv->Hwregs = (struct myHwregs
> > *)ioremap(dev->base_addr, 0x4000);
>
> Please insert the line below after this mapping and let us know its
> output:
>
> printk("PCI=0x%lx, VIRT=0x%lx\n",
> dev->base_addr, (unsigned long)myADpriv->Hwregs);

One more question: what's the type of "base_addr" (dev->base_addr) ??

Later,
Ivan

-
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/



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:14 EST