lkml.org 
[lkml]   [2005]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectioremap - simply question, big problem (to me)
Hi everybody,

I have several questions about ioremap:

1) I have two 16 bit sram memory devices. To force it works I had to use
ioremap with memorysize*2, because
I was able to write to the 1 and 2 byte, 5,6, 9,10, 13,14 and so on.
Please explain why my ioremap space is non-continous,
how to ioremap a 32 bit device that consists of 2 16 bit devices? (in
another system I simply copied the 16 bits to first device and another
16 bits
to the second device and I had a working system) and why in the remapped
memory are holes?

2) In my another system to get a value of the register from a flash
device I had to use "volatile u16 the_address_of_my_device".
How to get the value in the case when Linux has virtual remapped the
physical address?

Thank you.

----------------------------------------------------------------------
Startuj z INTERIA.PL! >>> http://link.interia.pl/f186c

-
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-04-06 13:31    [W:0.574 / U:0.388 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site